Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-137940
VULNERABILITY

CVE-2026-137940

Common Vulnerabilities and Exposures record

MEDIUM

Summary

Pillow before 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.

Risk

CVSS
5.7
Severity
MEDIUM
Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Nov 27, 2026 14:17
Modified
Nov 30, 2026 17:18
Last observed
Nov 30, 2026 13:00

CWE

CWE-190

References