CVE-2026-137940

MediumCVSS 4.7/10Last modified Dec 1, 2026

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.

Metrics

CVSS 3.1 4.7/10CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
python-pillowPillow<= 13.1.0

References

Timeline

Published
Nov 27, 2026
Last modified
Dec 1, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1379417.8A flaw was found in GIMP. The Levels configuration setter does not validate the channel enum before using it to index fixed-size per-channelCVE-2026-1379425.4Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains an authorization bypass in add_to_group() and remove_from_group() in programCVE-2026-1379436.1Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in compose_part_body() in program/actioCVE-2026-1379444.3A flaw was found in the Keycloak Operator. The operator copies proxy environment variables from its own environment into operand pod specifiCVE-2026-137956.5Insufficient policy enforcement in Chrome for iOS in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker to bypass navigatCVE-2026-1379514.8libexpat 2.6.0 through 2.11.0 built with XML_GE=0 and XML_UNICODE contains an out-of-bounds read in storeSelfEntityValue() because narrow stCVE-2026-1379527.5svglib before 2.5.0 contains a denial of service vulnerability in SvgRenderer.renderNode() that recursively renders internal <image> href frCVE-2026-1379538.6Pydantic Deep 0.2.18 before 0.4.0 contains a missing authentication vulnerability in the bundled DeepResearch FastAPI app that exposes HTTP CVE-2026-1379547.5Pydantic Deep 0.2.18 before 0.4.0 contains a server-side request forgery and local file read vulnerability in the DeepResearch export_reportCVE-2026-1379555.3PlantUML through 1.2026.10, including PlantUML Server, contains a local file read vulnerability that allows unauthenticated attackers to bypCVE-2026-1379565.4AVideo from 29.1.0 before 29.8.0 contains a cross-site request forgery vulnerability in plugin/YPTWallet/view/saveConfiguration.php that letCVE-2026-1379578.2n8n before 1.123.96, 2.47.6, 2.48.3, and 3.2.2 contains a path traversal vulnerability in integration nodes that build API request paths fro
CVE-2026-137940: Medium severity, CVSS 4.7 | Vulnix