CVE-2026-128067: Pillow · Heap buffer overflow saving TIFF with libtiff when tags override image size
Affects aiderSource GCVE Database
Not known to be exploited · CVSS 8.4 High.
Data as of 13 Nov 2026, 21:31 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.4 |
|---|
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 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewaiderpkg:brew/aiderOther 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
Until a fix is available, avoid saving TIFF images with compression enabled from untrusted sources that may carry manipulated metadata tags. Applications should sanitize or ignore metadata tags that override image dimensions when saving TIFF files. Monitoring vendor advisories and updating Pillow to a fixed version once released is recommended.
Description
CVE-2026-128067 is a heap buffer overflow vulnerability in the Pillow library when saving TIFF images using libtiff with certain metadata tags that override image size. The flaw occurs because Pillow allows image metadata tags such as ImageWidth, ImageLength, and SamplesPerPixel to override the actual image dimensions used to allocate buffers, leading libtiff to read or write beyond the allocated heap buffer. This can cause memory corruption, crashes, or leakage of server process memory into saved TIFF files. The vulnerability affects applications that save TIFF images with compression enabled (other than raw) and preserve or merge metadata from uploaded images. The issue has been present since Pillow 2.3.0 and 8.4.0 for different metadata handling routes.
References
- github.com/python-pillow/Pillow/security/advisories/GHSA-xcvg-w56q-r89m (opens in a new tab)
- 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 (opens in a new tab)
- github.com/python-pillow/Pillow/releases/tag/13.0.0 (opens in a new tab)