Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pillow versions from 5.1.0 before 13.0.0 are affected through the PdfParser class, where the get_value() method can recurse without limit on deeply nested PDF objects and raise an uncaught RecursionError. An attacker who controls an existing PDF that an application appends an image page to, using Image.save with format="PDF" and append=True, can crash that operation with a small file; the source reports no confidentiality or integrity impact. Upgrade to Pillow 13.0.0 or later, which is the listed fixed version.
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 |
|---|---|---|---|---|
| 6.3 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/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.0058, the 47th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:07 UTC First seen by agentprime
- 31 Oct 2026, 14:07 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-254f-3936-288h
- OSV: GHSA-254f-3936-288h
- github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288h
- nvd.nist.gov/vuln/detail/CVE-2026-112391
- github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cd
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/releases/tag/13.0.0