8.7

CVE-2026-112397: python-pillow pillow Out-of-bounds Write

CVSS: 8.7v4.0HighUndergoing analysis
AliasesDEBIAN-CVE-2026-112397GHSA-58r4-6rv3-gfh8CGA-77m8-8rpr-33v5
Published 19-10-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-112397 is a high (CVSS 8.7) Out-of-bounds Write vulnerability in python-pillow pillow. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 36.8% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.44%
0%100%
Low · Change unavailable
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 19-10-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

20-10-202621-10-2026
EPSS score
0.44%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard35 products
  • apache-beam-python-3.11-sdkAll versions (No fix recorded)
  • apache-beam-python-3.12-sdkAll versions (No fix recorded)
  • apache-beam-python-3.13-sdkAll versions (No fix recorded)
  • gftoolsAll versions (No fix recorded)
  • jupyter-all-spark-notebookAll versions (No fix recorded)
Wolfi10 products
  • gftoolsAll versions (No fix recorded)
  • kserve-storage-controllerAll versions (No fix recorded)
  • mlflowAll versions (No fix recorded)
  • open-webuiAll versions (No fix recorded)
  • py3.10-pillowAll versions (No fix recorded)
Debian1 product
  • pillowAll versions (No fix recorded)
PyPI1 product
  • pillow< 13.0.0
Python-pillow1 product

5 vendors · 48 products

References

6 links