{"id":"CVE-2026-112399","aliases":[],"cve":{"records":[{"id":"CVE-2026-112399","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-19T16:58:51.959Z","published":"2026-10-19T21:10:11.266Z","modified":"2026-10-28T15:21:14.748Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-19T21:10:11.266Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-28T15:21:14.748Z"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9","tags":["exploit"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-789","description":"CWE-789: Memory Allocation with Excessive Size Value","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-28T15:21:08.274556Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Pillow: APNG background disposal allocates full canvas before decompression bomb check","titleSource":"GitHub_M","descriptionSource":"GitHub_M","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.","score":8.7,"severity":"high","published":"2026-10-19T21:10:11.266Z","modified":"2026-10-28T15:21:14.748Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"python-pillow","name":"Pillow","platforms":[],"versions":[{"version":">= 8.1.0, < 13.0.0","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-112399"}],"remediation":[],"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"],"sources":[{"name":"CVE","id":"CVE-2026-112399","modified":"2026-10-28T15:21:14.748Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-112399"}],"assessments":[{"source":"GitHub_M","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}],"sourceAffected":[],"observedAt":"2026-10-29T14:30:03.661Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T09:15:31.262Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"Pillow, a Python imaging library, has a vulnerability in versions 8.1.0 to 13.0.0 where it can allocate memory for an APNG disposal background at the full canvas size before checking for decompression bombs, potentially exhausting memory and denying service. An attacker with access to crafted APNG files can exploit this weakness. The issue is related to excessive memory allocation.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T09:13:05.407Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-112399"}]}}