Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pillow versions from 2.0.0 up to but not including 13.0.0 are affected. When an image is saved as TIFF to an in-memory target such as io.BytesIO, a bug in the libtiff write callback (_tiffWriteProc) can write past the end of a heap buffer and copy stale heap memory into the output file. An attacker who can supply an image that a service opens and re-saves as TIFF this way can trigger it with default save settings; the source reports a crash and says code execution is not demonstrated. The fixed version is 13.0.0, so upgrade Pillow to 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:P/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.010, the 63rd 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-332p-7hrc-92wf
- OSV: GHSA-332p-7hrc-92wf
- github.com/python-pillow/Pillow/security/advisories/GHSA-332p-7hrc-92wf
- nvd.nist.gov/vuln/detail/CVE-2026-112393
- github.com/python-pillow/Pillow/commit/11582e5ffbdceb973d5ee593f3105af5a9852b40
- github.com/python-pillow/Pillow
- github.com/python-pillow/Pillow/releases/tag/13.0.0