Technical impact
Pillow through version 13.1.0 contains an integer overflow in the image math division and modulo operators that ignore a negative divisor. When an ImageMath division or modulo is performed with a numerator of INT32_MIN and a divisor of –1, a hardware divide exception occurs. This causes the process using Pillow to crash, resulting in a denial‑of‑service condition for that application.
Affected Systems
The vulnerability affects the Python Pillow image processing library for all releases up to and including version 13.1.0. Any software that depends on Pillow and processes user supplied TIFF images may be impacted.
Risk and Exploitability
The CVSS score is 5.7, indicating moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. Attackers can supply a crafted TIFF image that includes a mode‑I image containing the value INT32_MIN. When the target application performs an ImageMath division or modulo operation on that image, it will trigger a crash. The most likely attack vector is through user‑supplied image input, either locally or remotely where the application processes content from untrusted sources.