CVE-2020-1747
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 redhatCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:55:29.959Z | CVE Program |
| epss | verified | 2026-11-19T16:04:27.972Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:19.794Z | OSV |
| affected | verified | 2026-11-19T12:55:29.959Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:29.959Z | CVE 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 JSONOSV · 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | pyyaml | Not a distribution channel | 5.3.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:19.794ZArchived source JSON
Source publication: 2021-04-20T16:14:24.000Z
Source modification: 2026-05-04T08:57:14.897ZDocument fingerprint
4cb3ea6d8f0e3dc328aae06d0e95bebc899380c7883292c0886a7d36d8046323 - OSVConsulted: 2026-11-19T12:52:19.794ZArchived source JSON
Source publication: 2020-03-24T15:15:00.000Z
Source modification: 2026-05-04T08:57:14.897ZDocument fingerprint
4cb3ea6d8f0e3dc328aae06d0e95bebc899380c7883292c0886a7d36d8046323 - CVE ProgramConsulted: 2026-11-19T12:55:29.959ZArchived source JSON
Source publication: 2020-03-24T13:56:37.000Z
Source modification: 2024-08-04T06:46:30.893ZDocument fingerprint
0af2bfdfcdfcf7e86942b13e33e089d8d5266f3f7760b1f6211d932181e5f69a - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:27.972ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
014f9629f7f43cb872e60882107c1eaf015ac2e42c966095c43334e8cdc7e3b5
Official status history
- UNKNOWN → PUBLISHED · · evidence