Is pyyaml 5.3 vulnerable?
PyPI · 2 releases from 5.3.0 to 5.3.1 · latest pyyaml is 6.0.3 · checked 18 Nov 2026
Yes: 1 known advisory
Yes. pyyaml 5.3.1, the last 5.3 release, is affected by 1 known security advisory (1 critical), including CVE-2020-14343. 1 more affects earlier 5.3.x releases. Upgrade to 5.4 or later to fix all of them.
pip install 'pyyaml>=5.4'Is your project on an affected pyyaml?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting pyyaml 5.3.1
Improper Input Validation in PyYAML
- Affected
- <5.4
- Fixed in
- 5.4
Fixed within 5.3.x, affecting earlier releases
Improper Input Validation in PyYAML
- Affected
- >=5.1b7 <5.3.1
- Fixed in
- 5.3.1
Every pyyaml 5.3.x release
Affected: 5.3.0 to 5.3.1. Latest pyyaml: 6.0.3.
| Version | Known advisories |
|---|---|
| pyyaml 5.3.1 | CVE-2020-14343 |
| pyyaml 5.3.0 | CVE-2020-1747, CVE-2020-14343 |
Which of your client projects are still on pyyaml 5.3?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact pyyaml version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other pyyaml versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.