Home / PyYAML / PyYAML / CVE-2020-14343
CVE-2020-14343: is it exploited, and which versions of PyYAML are affected and fixed?
CVE-2020-14343 is an improper input validation vulnerability in 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, 17:09 UTC). Affected: PyYAML before 5.4 (GitHub advisory GHSA-8q59-q68h-6hv4). Fixed in 5.4 (GitHub advisory GHSA-8q59-q68h-6hv4). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:03 UTC.
What is CVE-2020-14343?
A vulnerability was discovered in the PyYAML library in versions before 5.4, 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. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.
From the CVE record by redhat, last updated August 4, 2024, 12:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| PyYAML | PyYAML 5.4 |
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.4 | 5.4 | GHSA-8q59-q68h-6hv4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 25, 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.4 | application |
| oracle | communications cloud native core network function cloud native environment | 1.10.0 | application |
| oracle | communications cloud native core network function cloud native environment | 22.1.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:54 UTC.
How severe is CVE-2020-14343?
| 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 | 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-14343 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.24% probability of exploitation activity in the next 30 days, percentile 93.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/yaml/pyyaml/issues/420
- https://bugzilla.redhat.com/show_bug.cgi?id=1860466
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/SeldonIO/seldon-core/issues/2252
When was it published, and where is the official record?
- Reserved
- June 17, 2020
- Published
- February 9, 2021, 00:00 UTC
- CVE record updated
- August 4, 2024, 12:39 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 02:54 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect PyYAML?
- Dec 2, 2026CVE-2026-142207 PyYAML: denial of service through slow algorithm
- Feb 19, 2020CVE-2019-20477 Pyyaml: deserialization of untrusted data
- Jun 27, 2018CVE-2017-18342 Pyyaml: deserialization of untrusted data
Questions about CVE-2020-14343
Is CVE-2020-14343 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 6.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of PyYAML are affected by CVE-2020-14343?
PyYAML before 5.4, per the GitHub advisory GHSA-8q59-q68h-6hv4. The tables above give every range the sources list.
Which version fixes CVE-2020-14343?
5.4, per the GitHub advisory GHSA-8q59-q68h-6hv4. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-14343?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-14343?
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.