CVE-2026-112892: CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) in python-pillow Pillow
Description
Pillow, a Python imaging library, has a vulnerability in its MSP RLE decoder from versions 4.1.0 up to but not including 13.0.0. The decoder can expand a small crafted MSP image into an unbounded in-memory buffer, potentially exhausting system memory and causing a denial of service. This occurs because the decoder writes run-length output to BytesIO without limiting expansion to the declared image size, bypassing decompression-bomb checks. The issue is fixed in version 13.0.0.
CVSS v4.0
Score 8.7high
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
CVE-2026-112892 describes an improper handling of highly compressed MSP image data in the Pillow library's MSP RLE decoder. From versions 4.1.0 to before 13.0.0, the decoder does not limit the expansion of run-length encoded data to the declared image size, allowing an attacker to supply a crafted MSP image that expands into an unbounded in-memory buffer. This can exhaust memory resources and cause a denial of service in applications loading such images. The vulnerability is classified under CWE-409 (Improper Handling of Highly Compressed Data). The issue is resolved in Pillow version 13.0.0.
Potential Impact
An attacker can cause a denial of service by supplying a crafted MSP image that triggers excessive memory consumption during decoding. This can exhaust system memory even if the image passes decompression-bomb checks, potentially crashing or severely degrading the availability of applications using vulnerable Pillow versions.
Mitigation Recommendations
Upgrade Pillow to version 13.0.0 or later, where this vulnerability is fixed. No other mitigation is indicated or required according to the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-19T20:16:09.856Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad6905d2cdf04f65694f774
Added to database: 10/19/2026, 21:49:17 UTC
Last enriched: 10/19/2026, 22:03:31 UTC
Last updated: 10/19/2026, 22:08:20 UTC
Views: 7
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.