Denial of Service Vulnerability in Pillow Python Imaging Library
CVE-2026-42310
5.1MEDIUM
What is CVE-2026-42310?
The Pillow Python imaging library, which is widely used for image processing, is susceptible to a Denial of Service (DoS) vulnerability. Attackers can exploit this flaw by submitting a specially crafted PDF file, causing the application to hang indefinitely and consume excessive CPU resources, leaving it unresponsive. This critical issue affects versions from 4.2.0 up to just before 12.2.0 but has been effectively resolved in version 12.2.0.
Affected Version(s)
Pillow >= 4.2.0, < 12.2.0
