{"schemaVersion":3,"id":"CVE-2026-112399","aliases":["DEBIAN-CVE-2026-112399"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-19T21:10:11.266Z","modified":"2026-10-19T21:10:11.266Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"CVSS: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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00291,"percentile":0.20417,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-20T00:00:00.000Z","score":0.00291,"percentile":0.20417}],"last30":[{"date":"2026-10-20T00:00:00.000Z","score":0.00291,"percentile":0.20417}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value","description":"The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/789.html"}],"affected":[{"vendor":"debian","product":"pillow","name":"pillow","label":"pillow","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pillow","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"python-pillow","product":"pillow","name":"Pillow","label":"pillow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.1.0, < 13.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.1.0, < 13.0.0","eol":null,"hubHref":"/vendor/python-pillow/pillow"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9","label":"github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48","label":"github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","label":"github.com/python-pillow/Pillow/releases/tag/13.0.0","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-112399","label":"security-tracker.debian.org/tracker/CVE-2026-112399","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-19T21:10:11.266Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:37:54.513Z","stale":false,"partial":false}}