CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2020-1747

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.8 · critical

Python packages · CVE-2020-1747

A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.

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

Severity and exploitation evidence

EPSS: 5.442% · score date 2026-11-19. 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 9.8 · published by redhat
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:55:29.959Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:55:29.959ZCVE Program
epssverified2026-11-19T16:04:27.972ZFIRST EPSS
patchesverified2026-11-19T12:52:19.794ZOSV
affectedverified2026-11-19T12:55:29.959ZCVE Program
lifecycleverified2026-11-19T12:55:29.959ZCVE Program

Affected versions and configuration

Red Hat PyYAML; default status: unknown: 5.3.1 [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": "Red Hat",
      "product": "PyYAML",
      "versions": [
        {
          "status": "affected",
          "version": "5.3.1"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH/",
          "name": "FEDORA-2020-40c35d7b37",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2/",
          "name": "FEDORA-2020-bdb0bfa928",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY/",
          "name": "FEDORA-2020-e9741a6a15",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html",
          "name": "openSUSE-SU-2020:0507",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html",
          "name": "openSUSE-SU-2020:0630",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D/",
          "name": "FEDORA-2021-3342569a0f",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX/",
          "name": "FEDORA-2021-eed7193502",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/yaml/pyyaml/pull/386",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-04T06:46:30.893Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-6757-jp84-gxfx",
  "aliases": [
    "CVE-2020-1747",
    "PYSEC-2020-96"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.1b7"
            },
            {
              "fixed": "5.3.1"
            }
          ]
        }
      ],
      "package": {
        "name": "pyyaml",
        "purl": "pkg:pypi/pyyaml",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.1",
        "5.1.1",
        "5.1.2",
        "5.1b7",
        "5.2",
        "5.2b1",
        "5.3",
        "5.3b1"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-6757-jp84-gxfx/GHSA-6757-jp84-gxfx.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"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-1747",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/github/advisory-database/pull/4942",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/pull/386",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/commit/0cedb2a0697b2bc49e4f3841b8d4590b6b15657e",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml/commit/5080ba513377b6355a0502104846ee804656f1e0",
      "type": "WEB"
    },
    {
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747",
      "type": "WEB"
    },
    {
      "url": "https://github.com/advisories/GHSA-6757-jp84-gxfx",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-96.yaml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/yaml/pyyaml",
      "type": "PACKAGE"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2",
      "type": "WEB"
    },
    {
      "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
      "type": "WEB"
    },
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html",
      "type": "WEB"
    },
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "nvd_published_at": "2020-03-24T15:15:00Z",
    "github_reviewed_at": "2021-04-07T22:29:00Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2020-96",
  "aliases": [
    "CVE-2020-1747",
    "GHSA-6757-jp84-gxfx"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.1"
            },
            {
              "fixed": "5.3.1"
            }
          ]
        }
      ],
      "package": {
        "name": "pyyaml",
        "purl": "pkg:pypi/pyyaml",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.1",
        "5.1.1",
        "5.1.2",
        "5.2b1",
        "5.2",
        "5.3b1",
        "5.3"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2020-96.yaml"
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747",
      "type": "REPORT"
    },
    {
      "url": "https://github.com/yaml/pyyaml/pull/386",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH/",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2/",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY/",
      "type": "WEB"
    },
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html",
      "type": "WEB"
    },
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D/",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX/",
      "type": "WEB"
    },
    {
      "url": "https://github.com/advisories/GHSA-6757-jp84-gxfx",
      "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.3.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history