Pillow through 13.1.0 contains an integer overflow in the ImageMath integer divide and modulo operators (DIVI and MODI in…
CVE-2026-137940
Pillow through 13.1.0 contains an integer overflow in the ImageMath integer divide and modulo operators (DIVI and MODI in src/imagingmath.c), which guard only against a zero divisor, so dividing INT32MIN by -1 raises a hardware divide exception. Attackers can supply a crafted TIFF that decodes to a mode I image containing INT32MIN, crashing applications that run an ImageMath divide or modulo with a -1 operand on it.
Assessment
- CVSS
- 5.7 (v4.0)
- Severity
- Medium
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 27 November 2026
- Last updated
- 27 November 2026
- Affected
- python-pillow · Pillow
- Assigner
- AISLE
CVSS vectorCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-137940