CVE-2026-112404: CWE-126: Buffer Over-read in python-pillow Pillow
Description
A buffer over-read vulnerability exists in the python-pillow Pillow library versions 8.1.0 through 12.x, fixed in 13.0.0. The flaw occurs in TIFF tile and RGBA decode paths where Pillow can read beyond the row data produced by libtiff due to inconsistent interpretation of TIFF tags. This can lead to exposure of adjacent heap memory or application crashes when processing crafted TIFF images.
CVSS v4.0
Score 8.8high
Affected software
python-pillow
Pillow
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Pillow, a Python imaging library, has a buffer over-read vulnerability (CWE-126) affecting versions from 8.1.0 up to but not including 13.0.0. The issue arises in the TIFF tile and RGBA decode paths where Pillow and libtiff interpret duplicated PhotometricInterpretation or BitsPerSample tags differently. Pillow fails to verify that the input row fits within the row data produced by libtiff, unlike the strip path which has this validation. This can cause Pillow to read beyond the allocated buffer, potentially exposing adjacent heap data in output pixels or causing a crash. The vulnerability is addressed in version 13.0.0.
Potential Impact
An attacker can craft a malicious TIFF image that triggers out-of-bounds reads in Pillow's decoding routines, potentially exposing adjacent heap memory contents in the output pixels or causing the application to crash. This could lead to information disclosure or denial of service. The CVSS 4.0 score is 8.8 (high severity), indicating a significant risk if unpatched.
Mitigation Recommendations
Upgrade to Pillow version 13.0.0 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 13.0.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-19T16:58:51.960Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad6906e2cdf04f65695018a
Added to database: 10/19/2026, 21:49:34 UTC
Last enriched: 10/19/2026, 22:03:19 UTC
Last updated: 10/19/2026, 22:08:15 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.