CVE-2026-137940

medium
EUVD alias: EUVD-2026-137246
Assigned by CNA: aisle EU ROOT
Published 2026-11-27 · Modified 2026-11-30
CVSS v3
4.7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4 NEW
5.7
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
VIR risk
4.7

Description

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.

Predictions

Exploit likelihood
47%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Affected 4 releases
VersionPackageStatusFixed in
trixie pillow Affected —
sid pillow Affected —
forky pillow Affected —
bookworm pillow Affected —
suse SUSE Tracked 1 release
VersionPackageStatusFixed in
— — Unknown —

Application impact

VendorProductVersionsFixed
python-pillowpillow{"endIncluding":"13.1.0"}
python-pillowpillow{"endExcluding":"13.1.0"}13.1.0

References

CWEs

CWE-190

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.