Skip to content
pkgseek
Back to CVE search

CVE-2026-137940

unknown

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.

First indexed 11/29/2026View on NVD

Advisory Facts

Markdown

CVE-2026-137940 is rated UNKNOWN, with 7 indexed affected package builds across 2 distributions.

Severity / Score
UNKNOWN
Affected builds
7
Affected distros
2
Distros with fixed_in
None recorded in sample
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2026-137940?locale=en

Distribution-aware status

2
Distributions
7
Package/release records
2
Vendor advisories
0
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

7 affected package/release combinations