# CVE-2020-1747: Improper Input Validation in PyYAML

- Severity: Critical 9.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.69%, higher than 91% of CVEs (2026-12-02)
- Published: 2020-03-24T13:56:37.000Z
- Modified: 2026-06-17T03:02:19.383Z
- Also known as: GHSA-6757-jp84-gxfx, PYSEC-2020-96
- Weaknesses: CWE-20
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- Red Hat PyYAML: 5.3.1
- pyyaml (PyPI): from 5.1b7 before 5.3.1; from 5.1 before 5.3.1
- pyyaml pyyaml: from 5.1 before 5.3.1
- fedoraproject fedora: 30; 31; 32; 33
- opensuse leap: 15.1
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 22.1.0

## Every score

- redhat: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX/> (vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747> (issue-tracking, patch, report, third-party-advisory, web)
- <https://github.com/yaml/pyyaml/pull/386> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1747> (advisory)
- <https://github.com/github/advisory-database/pull/4942> (web)
- <https://github.com/yaml/pyyaml/commit/0cedb2a0697b2bc49e4f3841b8d4590b6b15657e> (web)
- <https://github.com/yaml/pyyaml/commit/5080ba513377b6355a0502104846ee804656f1e0> (web)
- <https://github.com/advisories/GHSA-6757-jp84-gxfx> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-96.yaml> (web)
- <https://github.com/yaml/pyyaml> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX/> (web)

## Sources

- CVE List: [CVE-2020-1747](https://www.cve.org/CVERecord?id=CVE-2020-1747), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6757-jp84-gxfx](https://github.com/advisories/GHSA-6757-jp84-gxfx), CC-BY-4.0, modified 2026-05-04
- NVD: [CVE-2020-1747](https://nvd.nist.gov/vuln/detail/CVE-2020-1747), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-96](https://osv.dev/vulnerability/PYSEC-2020-96), CC-BY-4.0, modified 2026-05-04

---

Page: https://cve.day/CVE-2020-1747 · Whole record: https://cve.day/CVE-2020-1747.json · Rebuilt by cve.day 2026-11-25T22:57:51.625Z
