Home / Red Hat / PyYAML / CVE-2020-1747
CVE-2020-1747: is it exploited, and which versions of Red Hat PyYAML are affected and fixed?
CVE-2020-1747 is an improper input validation vulnerability in Red Hat PyYAML. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: pyyaml from 5.1b7 before 5.3.1 (GitHub advisory GHSA-6757-jp84-gxfx). Fixed in 5.3.1 (GitHub advisory GHSA-6757-jp84-gxfx). Severity: Critical (9.8, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is 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.
From the CVE record by redhat, last updated August 4, 2024, 06:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | PyYAML | 5.3.1 |
As the CVE record by redhat states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pyyaml | >= 5.1b7, < 5.3.1 | 5.3.1 | GHSA-6757-jp84-gxfx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 31, 2024. Summary: Improper Input Validation in PyYAML.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pyyaml | pyyaml | from 5.1 before 5.3.1 | application |
| fedoraproject | fedora | 30 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
| fedoraproject | fedora | 33 | operating system |
| opensuse | leap | 15.1 | operating system |
| oracle | communications cloud native core network function cloud native environment | 22.1.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:02 UTC.
How severe is CVE-2020-1747?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-1747 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.69% probability of exploitation activity in the next 30 days, percentile 92.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- FEDORA-2020-40c35d7b37 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-bdb0bfa928 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-e9741a6a15 vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2020:0507 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:0630 vendor-advisory, x_refsource_SUSE
- FEDORA-2021-3342569a0f vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-eed7193502 vendor-advisory, x_refsource_FEDORA
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747 x_refsource_CONFIRM
- https://github.com/yaml/pyyaml/pull/386 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 27, 2019
- Published
- March 24, 2020, 13:56 UTC
- CVE record updated
- August 4, 2024, 06:46 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 03:02 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-1747
Is CVE-2020-1747 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 4.69% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat PyYAML are affected by CVE-2020-1747?
pyyaml from 5.1b7 before 5.3.1, per the GitHub advisory GHSA-6757-jp84-gxfx. The tables above give every range the sources list.
Which version fixes CVE-2020-1747?
5.3.1, per the GitHub advisory GHSA-6757-jp84-gxfx. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-1747?
Critical (9.8, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2020-1747?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.