# PyYAML (PyPI)

YAML parser and emitter for Python

- Latest: 6.0.4 (2026-11-20)
- Licence: MIT
- Downloads: 1357990504 last month
- Advisories on the latest version: 0

- CVE-2019-20477 CRITICAL: Deserialization of Untrusted Data in PyYAML Fixed in 5.2.
- CVE-2020-1747 CRITICAL: Improper Input Validation in PyYAML Fixed in 5.3.1.
- CVE-2020-14343 CRITICAL: Improper Input Validation in PyYAML Fixed in 5.4.
- CVE-2020-14343 :  Fixed in 5.4.
- CVE-2020-1747 :  Fixed in 5.3.1.
- CVE-2019-20477 :  Fixed in 5.2b1.
- CVE-2017-18342 CRITICAL: PyYAML insecurely deserializes YAML strings leading to arbitrary code execution Fixed in 5.1.
- CVE-2017-18342 :  Fixed in 5.1.

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
