CVE-2026-96636
MEDIUM 6.5CVSS 3.1Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)
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.
- Published
- 21 Oct 2026
- Last modified
- 30 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-409
- Also known as
- BIT-pillow-2026-96636GHSA-p8hx-v2p6-rp84PYSEC-2026-4337
- Sources
- NVDJSONOSV GHSA-p8hx-v2p6-rp84JSONOSV PYSEC-2026-4337JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
< 13.0.0 | 13.0.0 |
| OSV | PyPI | pillow | < 13.0.0 | 13.0.0 |
References
- https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48 · Patch, WEB, FIX
- https://github.com/python-pillow/Pillow/pull/10011 · Issue Tracking, WEB, REPORT
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 · Release Notes, WEB, ADVISORY
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-96636 · ADVISORY
- https://github.com/python-pillow/Pillow · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Oct 2026)