Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pillow versions before 13.0.0 contain a heap buffer overflow in the FlashPix (FPX) JPEG tile decoder. An attacker who supplies a crafted FPX file that is opened with Image.open(), with the optional olefile package installed, can execute arbitrary code in the process doing the image processing, and no user interaction is needed when a service processes uploads automatically. 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 |
|---|---|---|---|---|
| 9.2 | Critical | 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0070, the 53rd 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-5x8w-8jj5-q52h
- OSV: GHSA-5x8w-8jj5-q52h
- github.com/python-pillow/Pillow/security/advisories/GHSA-5x8w-8jj5-q52h
- nvd.nist.gov/vuln/detail/CVE-2026-112398
- github.com/python-pillow/Pillow/commit/242a059aedc1935097d9aa1dc3f099750467ba75
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/releases/tag/13.0.0