CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2017-18342

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Python packages · CVE-2017-18342

In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 5.570% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T12:59:54.299ZFIRST EPSS
patchesverified2026-11-19T12:52:19.794ZOSV
affectedverified2026-11-19T12:54:56.350ZCVE Program
lifecycleverified2026-11-19T12:54:56.350ZCVE Program

Affected versions and configuration

n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "n/a",
      "versions": [
        {
          "status": "affected",
          "version": "n/a"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/yaml/pyyaml/pull/74",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/yaml/pyyaml/blob/master/CHANGES",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/",
          "name": "FEDORA-2019-bed9afe622",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/",
          "name": "FEDORA-2019-779a9db46a",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/",
          "name": "FEDORA-2019-44643e8bcb",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/marshmallow-code/apispec/issues/278",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/yaml/pyyaml/issues/193",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load%28input%29-Deprecation",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202003-45",
          "name": "GLSA-202003-45",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-05T21:20:50.850Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-rprw-h62v-c2w7",
  "aliases": [
    "CVE-2017-18342",
    "PYSEC-2018-49"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.1"
            }
          ]
        }
      ],
      "package": {
        "name": "pyyaml",
        "purl": "pkg:pypi/pyyaml",
        "ecosystem": "PyPI"
      },
      "versions": [
        "3.01",
        "3.02",
        "3.03",
        "3.04",
        "3.05",
        "3.06",
        "3.07",
        "3.08",
        "3.09",
        "3.10",
        "3.11",
        "3.12",
        "3.13",
        "3.13b1",
        "3.13rc1",
        "4.2b1",
        "4.2b2",
        "4.2b4",
        "5.1b1",
        "5.1b3",
        "5.1b5",
        "5.1b7"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-rprw-h62v-c2w7/GHSA-rprw-h62v-c2w7.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-18342",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/marshmallow-code/apispec/issues/278",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/issues/193",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/issues/207#issuecomment-472520007",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/pull/74",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/commit/7b68405c81db889f83c32846462b238ccae5be80",
      "type": "WEB"
    },
    {
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2018-49.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/yaml/pyyaml/blob/master/CHANGES",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA",
      "type": "WEB"
    },
    {
      "url": "https://security.gentoo.org/glsa/202003-45",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-502"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:55:26Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2018-49",
  "aliases": [
    "CVE-2017-18342",
    "GHSA-rprw-h62v-c2w7"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.1"
            }
          ]
        }
      ],
      "package": {
        "name": "pyyaml",
        "purl": "pkg:pypi/pyyaml",
        "ecosystem": "PyPI"
      },
      "versions": [
        "3.01",
        "3.02",
        "3.03",
        "3.04",
        "3.05",
        "3.06",
        "3.07",
        "3.08",
        "3.09",
        "3.10",
        "3.11",
        "3.12",
        "3.13",
        "3.13b1",
        "3.13rc1",
        "4.2b1",
        "4.2b2",
        "4.2b4",
        "5.1b1",
        "5.1b3",
        "5.1b5",
        "5.1b7"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2018-49.yaml"
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/yaml/pyyaml/pull/74",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/blob/master/CHANGES",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA/",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE/",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ/",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation",
      "type": "WEB"
    },
    {
      "url": "https://github.com/marshmallow-code/apispec/issues/278",
      "type": "REPORT"
    },
    {
      "url": "https://github.com/yaml/pyyaml/issues/193",
      "type": "REPORT"
    },
    {
      "url": "https://security.gentoo.org/glsa/202003-45",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/advisories/GHSA-rprw-h62v-c2w7",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPyPI / packagepyyamlNot a distribution channel5.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history