Improper Validation of Specified Quantity in Input in Pillow - CVE-2026-96636
Published: November 3, 2026
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.