Feed
6.5MEDIUM

CVE-2026-96641Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise

A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.5%
percentile 32%
Priority
34/100 medium
how it is computed
Fix
Named by a source
CVE published 21 Oct 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.5% (+0) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected< 13.0.0Fixed in13.0.0OSV (PYSEC-2026-4340)
  • python pillow product:python/pillow

    • Affected< 13.0.0Affected range ends before13.0.0as published by CPE data (via the NVD API)
  • python-pillow Pillow product:pythonpillow/pillow

    • Affected< 13.0.0Affected range ends before13.0.0as published by CNA (CVE List)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
6.5 MEDIUM (version 3.1)
Score from
CNA ([email protected])
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
required
Weakness
CWE-190
Exploitation (CISA SSVC)
poc
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)Pillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against INT_MIN. Repeating a signed 16-bit advance of -32768 can therefore execute a signed C integer overflow in xsize += dx, producing a large positive width from a negative mathematical result. Applications that use getlength(), getsize(), or derived layout, quota, serialization, or allocation calculations can experience logic-integrity errors or resource consumption, while the high-level mask path commonly retains a decompression-bomb check. This issue is fixed in version 13.0.0.

Update history

  • 21 Oct 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 7 min ago · osv 7 min ago · nvd 68 min ago · epss 7 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2026-96641, GHSA-4rm8-3hmm-39fg, PYSEC-2026-4340