Improper Validation of Specified Quantity in Input in Pillow - CVE-2026-96636

 

Improper Validation of Specified Quantity in Input in Pillow - CVE-2026-96636

Published: November 3, 2026


Vulnerability identifier: #VU158918
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-96636
CWE-ID: CWE-1284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through memory exhaustion.

The vulnerability exists due to missing validation of frame dimensions in Pillow's MpoImageFile.seek() and DcxImageFile.seek() methods when selecting subsequent image frames. A remote attacker can trick a victim into opening a crafted MPO or DCX file with a small first frame and an oversized later frame and selecting and loading that later frame to bypass decompression-bomb checks and exhaust process memory.


Affected software

Pillow

How to mitigate CVE-2026-96636

Install security update from vendor's website.

Pillow - update to 13.0.0

External References

Related Security Bulletins