CVE-2026-128067: Pillow · Heap buffer overflow saving TIFF with libtiff when tags override image size
Affects pillowSource GCVE Database
Not known to be exploited · CVSS 8.4 High : upgrade to 13.0.0 soon.
Data as of 27 Nov 2026, 08:01 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.4 |
|---|
- Patch
- Available – fixed in 13.0.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade pillow to 13.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamipillowpkg:bitnami/pillowOther threats | Affected
| Fixed in
|
PyPIpillowpkg:pypi/pillowOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Pillow to version 13.0.0 or later, where this vulnerability is fixed. No other mitigation is required as the patch fully addresses the issue.
Description
A heap buffer overflow vulnerability exists in Pillow versions 2.3.0 through 12.3.0 when saving compressed TIFF images using libtiff. Attacker-controlled image geometry tags can cause libtiff to consume a larger scanline than the allocated buffer, potentially leading to heap memory disclosure, process crashes, or memory corruption. This flaw is fixed in Pillow version 13.0.0.
References
- github.com/python-pillow/Pillow/commit/53318b50e8e9e85a57d033d4d879e1398d97aeb1 (opens in a new tab)
- github.com/python-pillow/Pillow/commit/ec5f1cbcf67275641abaad5c065ffb64a0a804a9 (opens in a new tab)
- github.com/python-pillow/Pillow/releases/tag/13.0.0 (opens in a new tab)
- github.com/python-pillow/Pillow/security/advisories/GHSA-xcvg-w56q-r89m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-128067 (opens in a new tab)