Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pillow versions 5.1.0 up to but not including 13.0.0 are affected when appending to an existing PDF. An attacker who can supply a PDF to an application that uses Image.save with format="PDF" and append=True can provide a malformed page tree that makes Pillow use excessive CPU time, causing resource exhaustion. Upgrade to Pillow 13.0.0 or later.
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 |
|---|---|---|---|---|
| 8.2 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0060, the 49th 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-mrfp-p49p-3hf2
- OSV: GHSA-mrfp-p49p-3hf2
- github.com/python-pillow/Pillow/security/advisories/GHSA-mrfp-p49p-3hf2
- nvd.nist.gov/vuln/detail/CVE-2026-96640
- github.com/python-pillow/Pillow/pull/10093
- github.com/python-pillow/Pillow/commit/6f0e7ee1f9c2fe227906f8a4b926e6622b702bc7
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/releases/tag/13.0.0