CVE-2026-96636: python-pillow pillow Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-96636 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in python-pillow pillow.
Timeline
- 21-10-2026PublishedVulnerability first disclosed.
Description
Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open() and then declare an over-limit later frame. Normal frame iteration through seek(), load(), or ImageSequence.Iterator can decode that frame and commit hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-409Improper Handling of Highly Compressed Data (Data Amplification)The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.
Affected systems
Python-pillow1 product
- pillow< 13.0.0
1 vendor · 1 product
References
4 links- github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84X Refsource CONFIRM
- github.com/python-pillow/Pillow/pull/10011X Refsource MISC
- github.com/python-pillow/Pillow/releases/tag/13.0.0X Refsource MISC