{"id":"CVE-2026-96636","published":"2026-10-21T21:05:20Z","modified":"2026-10-30T16:08:33Z","title":"Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek /…","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open() and then declare an over-limit later frame. Normal frame iteration through seek(), load(), or ImageSequence.Iterator can decode that frame and commit hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.31811,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/pull/10011","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.36},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":["< 13.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T16:08:27.291257Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Pillow","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-p8hx-v2p6-rp84","PYSEC-2026-4337"],"provenance":"source"}],"summary":{"text":"The flaw is in Pillow's MPO and DCX multi-frame image handling, specifically in the seek() methods of MpoImageFile and DcxImageFile, which reparse later frames and update the image size without re-running the decompression-bomb check. An attacker who can supply a crafted multi-frame image that a victim opens and iterates through can cause memory exhaustion and denial of service, and this requires only that the user process the file (user interaction), with no authentication or special configuration needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:43Z"},"euvd":{"id":"EUVD-2026-107572","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-python-pillow-pillow-cve-2026-25990","children":[{"from":"CVE-2026-96636","to":"CVE-2026-96639","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/PIL/DcxImagePlugin.py","src/PIL/MicImagePlugin.py","src/PIL/MpoImagePlugin.py"],"commits":["https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48","https://github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522a"],"basis":"shared function","functions":["seek"]}]}]}}