MEDIUMCVSS v3.1 4.7Vulnerability

CVE-2026-137940

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.

Properties

Severity
MEDIUM
Nvd fetched at
2026-11-28T01:46:56.497295+00:00
Cvss severity
MEDIUM
Cvss score
4.7
Retrieved at
2026-11-28T01:47:33+00:00
Score
4.7
Cvss version
3.1
Last source
NVD
Cve id
CVE-2026-137940
Cvss vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
First seen by Signal
2026-11-27T17:44:18+00:00
Name
CVE-2026-137940
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Published at
2026-11-27T14:17:05.010
Last modified
2026-11-27T14:17:05.130

Related Entities (1)

HAS_WEAKNESS (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-137940 (CVSS v3.1 4.7) — Ninja Signal Threat Intelligence | Ninja Signal