{"id":"CVE-2026-112400","published":"2026-10-19T21:12:37Z","modified":"2026-10-20T14:59:57Z","title":"Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"Pillow is a Python imaging library. From 9.2.0 until 13.0.0, Pillow can retain a rejected GIF frame size after a decompression-bomb exception. In GifImageFile._seek, a crafted GIF can leave rejected dimensions stored after Image.DecompressionBombError; if an application catches that exception and continues processing the same image object, later seek or load operations allocate according to those dimensions and can exhaust memory, denying service. This issue is fixed in version 13.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00594,"percentile":0.49353,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-65qm-jvmh-6pqg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/commit/6faed707cfb760a4cbd726ddc8406f576cf35bf7","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":9.87},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":[">= 9.2.0, < 13.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-20T14:59:28.532487Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Pillow","vulnerableRanges":[">=9.2.0, <13.0.0"],"patched":["13.0.0"],"from":["GHSA-65qm-jvmh-6pqg"],"provenance":"source"}],"summary":{"text":"Pillow, the Python imaging library, has a flaw in its GIF seek handling (GifImageFile._seek) from versions 9.2.0 through 12.x, where a rejected frame size can persist after a decompression-bomb exception. An attacker can supply a crafted GIF over the network with no authentication or user interaction, but exploitation requires that the application catches Image.DecompressionBombError and keeps using the same image object, after which later seek or load operations can allocate memory based on the stored dimensions and exhaust it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:26Z"},"euvd":{"id":"EUVD-2026-104636","exploited":false,"provenance":"source"}}