Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pillow versions 4.2.0 up to but not including 12.2.0 are affected by a flaw in the PDF parser. A attacker who supplies a malicious PDF file can cause the process to hang indefinitely at 100% CPU, making the application unresponsive. Upgrade to Pillow 12.2.0, which detects the cyclic trailer references and raises an error instead.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.1 | Medium | 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0017, the 6th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 23 Apr 2026, 15:11 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:29 UTC First seen by agentprime
- 31 Oct 2026, 14:29 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r73j-pqj5-w3x7
- OSV: GHSA-r73j-pqj5-w3x7
- github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7
- nvd.nist.gov/vuln/detail/CVE-2026-42310
- github.com/python-pillow/Pillow/pull/9519
- github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/releases/tag/12.2.0