PatchSiren cyber security CVE debrief
CVE-2026-128067 python-pillow CVE debrief
A heap buffer overflow vulnerability exists in Pillow, a Python imaging library, when saving compressed TIFF images through libtiff. The issue arises when attacker-controlled image geometry tags override the image size, allowing libtiff to consume a larger scanline than the buffer supplied by ImagingLibTiffEncode. This can lead to reading heap memory into the generated TIFF or crashing the process. The vulnerability is fixed in version 13.0.0.
- Vendor
- python-pillow
- Product
- Pillow
- CVSS
- HIGH 8.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-12
- Original CVE updated
- 2026-11-13
- Advisory published
- 2026-11-12
- Advisory updated
- 2026-11-13
Who should care
Defenders responsible for systems that process TIFF images using Pillow should assess their exposure to this vulnerability. This includes teams handling image processing, data validation, and security updates for Pillow.
Why it matters
Defenders should prioritize addressing this vulnerability due to the potential for heap memory exposure and process crashes when processing TIFF images with Pillow. Systems handling compressed TIFF images through libtiff are at risk and require assessment and remediation.
- Potential for heap memory exposure
- Possible process crashes or denial of service
- Need for validation and sanitization of image geometry tags
- Priority for upgrading to Pillow version 13.0.0 or later
Technical summary
The Pillow library is vulnerable to a heap buffer overflow when saving compressed TIFF images through libtiff. The issue arises when attacker-controlled image geometry tags override the image size, allowing libtiff to consume a larger scanline than the buffer supplied by ImagingLibTiffEncode. This can lead to reading heap memory into the generated TIFF or crashing the process. A carried-over PlanarConfiguration value of 2 can produce an undecodable output file. The vulnerability is fixed in version 13.0.0 and later.
Defensive priority
Defenders should prioritize upgrading to Pillow version 13.0.0 or later to address this vulnerability. Systems that process TIFF images using Pillow should be assessed for exposure, particularly those handling compressed TIFF images through libtiff.
Recommended defensive actions
- Upgrade to Pillow version 13.0.0 or later
- Assess systems that process TIFF images using Pillow for exposure
- Verify that image geometry tags are properly validated and sanitized
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description, affected versions, and fixed version. The source item also includes references to the vendor's advisory and code changes.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-128067 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-128067
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-128067 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-128067
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/128xxx/CVE-2026-128067.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/python-pillow/Pillow/security/advisories/GHSA-xcvg-w56q-r89m
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/python-pillow/Pillow/commit/53318b50e8e9e85a57d033d4d879e1398d97aeb1
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/python-pillow/Pillow/commit/ec5f1cbcf67275641abaad5c065ffb64a0a804a9
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/python-pillow/Pillow/releases/tag/13.0.0
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.