Feed
7.5HIGH

CVE-2026-112397Pillow: Out-of-bounds access in _imagingmorph on a zero-width image

A high-severity vulnerability reachable over the network, needing no privileges and no 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 38%
Priority
39/100 medium
how it is computed
Fix
Named by a source
CVE published 19 Oct 2026

Reference

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

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

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected< 13.0.0Fixed in13.0.0OSV (PYSEC-2026-4329)
  • 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
7.5 HIGH (version 3.1)
Score from
NVD
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-787
Exploitation (CISA SSVC)
poc
Automatable (CISA SSVC)
yes
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, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and PGM input can create an image with width zero, and the native morphology routine indexes outrow[width - 1] without rejecting that geometry. An attacker can supply such an image to an application that applies a morphology operation. This can crash the process. This issue is fixed in version 13.0.0.

Update history

  • 19 Oct 2026Published

References

Sources

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

Last checked: kev 55 min ago · osv 55 min ago · nvd 54 min ago · epss 54 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2026-112397, GHSA-58r4-6rv3-gfh8, PYSEC-2026-4329