{"id":"CVE-2026-112399","revision":"3385632a5a63447c8a21f553239759d3","records":[{"revision":"3385632a5a63447c8a21f553239759d3","observedAt":"2026-10-28T16:46:48.767+00:00","statement":{"source":"cve-program","id":"CVE-2026-112399","aliases":[],"title":"Pillow: APNG background disposal allocates full canvas before decompression bomb check","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.","state":0,"publishedAt":"2026-10-19T21:10:11.266+00:00","modifiedAt":"2026-10-28T15:21:14.748+00:00","affected":[{"ecosystem":"Vendor product","name":"Pillow","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"python-pillow\",\n                    \"product\": \"Pillow\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 8.1.0, < 13.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":8.7,"severity":"HIGH"}],"references":["https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9","https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48","https://github.com/python-pillow/Pillow/releases/tag/13.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112399","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112399","identifiers":["CVE-2026-112399"]},"retained":false,"historicalAffected":[]}],"coverage":[]}