CVE-2026-112397: python-pillow pillow Out-of-bounds Write
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.
Timeline
- 19-10-2026PublishedVulnerability first disclosed.
- 19-10-2026Last 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- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected 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
- pillow< 13.0.0
5 vendors · 48 products