CVE-2026-96636: CWE-400: Uncontrolled Resource Consumption in python-pillow Pillow
Description
CVE-2026-96636 is a vulnerability in the python-pillow Pillow library prior to version 13.0.0. It involves uncontrolled resource consumption due to improper handling of multi-frame MPO and DCX images. Specifically, the seek() methods in MpoImageFile and DcxImageFile do not rerun the decompression bomb check when parsing later frames, allowing crafted images to cause excessive memory use and denial of service. This issue is fixed in Pillow version 13.0.0.
CVSS v3.1
Score 6.5medium
Affected software
python-pillow
Pillow
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because MpoImageFile.seek() and DcxImageFile.seek() methods in Pillow versions before 13.0.0 reparse later frames of multi-frame MPO or DCX images and update the image size without rerunning the Image._decompression_bomb_check(). An attacker can craft a multi-frame image with a small first frame to bypass initial checks and then include a later frame that exceeds memory limits. When this later frame is decoded via seek(), load(), or ImageSequence.Iterator, it can consume hundreds of megabytes or more, leading to memory exhaustion and denial of service. The issue is resolved in Pillow 13.0.0.
Potential Impact
An attacker can cause a denial of service by supplying a crafted multi-frame image that triggers excessive memory consumption during image processing. This can crash or severely degrade the availability of applications using vulnerable Pillow versions. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade to Pillow version 13.0.0 or later, where this vulnerability is fixed. No other mitigation is required as the fix addresses the root cause by rerunning the decompression bomb check on later frames.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-23T14:35:50.130Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad92f434d27ba8daa03e678
Added to database: 10/21/2026, 21:31:47 UTC
Last enriched: 10/21/2026, 21:46:24 UTC
Last updated: 10/21/2026, 21:46:24 UTC
Views: 3
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.