CVE-2026-137940

MEDIUM Status: Awaiting Analysis

CVSS Scores

CVSS v3.x Base Score
4.7
MEDIUM

Description

Pillow through 13.1.0 contains an integer overflow in the ImageMath integer divide and modulo operators (DIV_I and MOD_I in src/_imagingmath.c), which guard only against a zero divisor, so dividing INT32_MIN by -1 raises a hardware divide exception. Attackers can supply a crafted TIFF that decodes to a mode I image containing INT32_MIN, crashing applications that run an ImageMath divide or modulo with a -1 operand on it.

Published
November 27, 2026 2:17 PM
Last Modified
November 27, 2026 2:17 PM
Source
1a4f025a-074d-4105-b4e2-52bd8eabe2ea

Weaknesses (CWE)

CWE-190

References

Contact Us

Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.

Send an enquiry