CVE-2026-112403: python-pillow pillow Heap-based Buffer Overflow
Vulnerability summary
CVE-2026-112403 is a critical (CVSS 9.2) Heap-based Buffer Overflow vulnerability in python-pillow pillow. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 23.8% of scored vulnerabilities.
Timeline
- 19-10-2026PublishedVulnerability first disclosed.
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. This issue is fixed in version 13.0.0.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/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 · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
24%
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
Chainguard31 products
- 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)
- kserve-xgbserverAll versions (No fix recorded)
- kubeflow-pipelines-visualization-serverAll versions (No fix recorded)
Wolfi9 products
- gftoolsAll versions (No fix recorded)
- kubeflow-pipelines-visualization-serverAll 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 · 43 products