CVE-2026-112897: Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips
Vulnerability summary
CVE-2026-112897 is a high (CVSS 8.7) Use of Uninitialized Resource vulnerability in python-pillow pillow. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 43% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 7Timeline
- 19-10-2026PublishedVulnerability first disclosed.
- 22-10-2026Last modifiedVulnerability information updated.
Description
Pillow is a Python imaging library. From 5.3.0 until 13.0.0, Pillow can return uninitialized memory as pixels when libtiff performs a short decode of JPEG-compressed or Group 4 fax TIFF data. The _decodeStrip and _decodeTile buffers can be larger than the bytes written by libtiff, but Pillow converts the expected rows without clearing the unwritten tail. The tile path is affected from 5.3.0 and the strip path from 6.0.0. An attacker can supply a crafted TIFF to an application that loads and returns or re-encodes its pixels. This can disclose stale heap contents without memory corruption or a process crash. This issue is fixed in version 13.0.0.
CVSS metrics
9 scores · 7 sources · 2 versions- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.48% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPillow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard46 products
- apache-beam-python-3.11-sdkAll versions (No fix recorded) | < 2.77.0-r2
- apache-beam-python-3.12-sdkAll versions (No fix recorded) | < 2.77.0-r5
- apache-beam-python-3.13-sdkAll versions (No fix recorded) | < 2.77.0-r5
- apache-beam-python-3.14-sdk< 2.77.0-r5
- gftoolsAll versions (No fix recorded) | < 0.10.4-r1
Wolfi11 products
- gftoolsAll versions (No fix recorded) | < 0.10.4-r1
- kserve-storage-controllerAll versions (No fix recorded) | < 0.21.0-r9
- kubeflow-pipelines-visualization-serverAll versions (No fix recorded) | < 2.17.2-r7
- mlflowAll versions (No fix recorded)
- open-webuiAll versions (No fix recorded) | < 0.12.3-r6
Ubuntu2 products
- pillowAll versions (No fix recorded) | < 7.0.0-4ubuntu0.9+esm2 | < 9.0.1-1ubuntu0.7 | < 10.2.0-1ubuntu1.5 | < 12.3.0-1ubuntu2 | < 12.1.1-2ubuntu1.5
- pillow-python2All versions (No fix recorded)
Debian1 product
- pillowAll versions (No fix recorded) | < 13.0.0-1
PyPI1 product
- pillow≥ 5.3.0, < 13.0.0
Python1 product
- pillow≥ 5.3.0, < 13.0.0
Python-pillow1 product
- pillow≥ 5.3.0, < 13.0.0
7 vendors · 63 products
References
10 links- github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rgX Refsource CONFIRMWEBAdvisoryREPORTExploitPatchVendor Advisory
- github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ceX Refsource MISCWEBFIXPatch