# CVE-2026-96636: Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-21T21:05:20.850Z
- Modified: 2026-10-30T17:17:32.103Z
- Also known as: GHSA-p8hx-v2p6-rp84, BIT-PILLOW-2026-96636, PYSEC-2026-4337
- Weaknesses: CWE-400, CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- python-pillow Pillow: < 13.0.0
- pillow (PyPI): before 13.0.0
- python pillow: before 13.0.0
- pillow (Bitnami): before 13.0.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84> (exploit, advisory, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/pull/10011> (issue-tracking, report, web)
- <https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0> (advisory, article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-96636> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-96636](https://www.cve.org/CVERecord?id=CVE-2026-96636), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-p8hx-v2p6-rp84](https://github.com/advisories/GHSA-p8hx-v2p6-rp84), CC-BY-4.0, modified 2026-10-29
- NVD: [CVE-2026-96636](https://nvd.nist.gov/vuln/detail/CVE-2026-96636), Public domain, modified 2026-10-30
- PyPA Advisory Database: [PYSEC-2026-4337](https://osv.dev/vulnerability/PYSEC-2026-4337), CC-BY-4.0, modified 2026-10-29
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-96636](https://osv.dev/vulnerability/BIT-PILLOW-2026-96636), Apache-2.0, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-96636 · Whole record: https://cve.day/CVE-2026-96636.json · Rebuilt by cve.day 2026-11-25T22:59:46.692Z
