CVE-2026-112399: Pillow: APNG background disposal allocates full canvas before decompression bomb check
Vulnerability summary
CVE-2026-112399 is a high (CVSS 8.7) vulnerability in python-pillow pillow. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 48.7% 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.
- 28-10-2026Last modifiedVulnerability information updated.
Description
Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow can allocate an APNG disposal background at the full canvas size before applying the decompression-bomb check. A crafted APNG with a small first frame, a very large declared canvas, and background disposal or first-frame OP_PREVIOUS reaches PngImageFile._seek while Image.open() positions frame zero. The full-canvas allocation occurs inside Image.open() without requiring pixel loading or frame iteration. This can exhaust memory and deny service. 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: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
- OSV · WolfiEcosystem 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
- OSV · ChainguardEcosystem 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
- OSV · UbuntuEcosystem 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
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.57%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.53% 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.
Chainguard22 products
- apache-beam-python-3.12-sdkAll versions (No fix recorded) | < 2.77.0-r5
- mlflowAll versions (No fix recorded) | < 3.17.2-r2
- mlflow-fipsAll versions (No fix recorded) | < 3.17.2-r3
- nemo-gym< 0.5.0_rc0_git20260729-r6
- nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r11
Wolfi6 products
- mlflowAll versions (No fix recorded)
- open-webui< 0.12.3-r6 | All versions (No fix recorded)
- py3.10-pillowAll versions (No fix recorded)
- py3.11-pillowAll versions (No fix recorded) | < 13.0.0-r0
- py3.12-pillowAll versions (No fix recorded) | < 13.0.0-r0
Ubuntu2 products
- pillowAll versions (No fix recorded) | < 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≥ 8.1.0, < 13.0.0
Python1 product
- pillow≥ 8.1.0, < 13.0.0
Python-pillow1 product
- pillow≥ 8.1.0, < 13.0.0
7 vendors · 34 products
References
10 links- github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9X Refsource CONFIRMWEBAdvisoryREPORTExploitMitigationPatchVendor Advisory
- github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48X Refsource MISCWEBFIXPatch