# CVE-2026-96638: Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode

- 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)
- Published: 2026-10-21T20:47:21.767Z
- Modified: 2026-10-29T10:55:36.262Z
- Also known as: GHSA-24rc-8hj2-v98c, BIT-PILLOW-2026-96638
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to 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: >= 9.1.0, < 13.0.0
- pillow (PyPI): from 9.1.0 before 13.0.0
- python pillow: from 9.1.0 before 13.0.0
- pillow (Bitnami): from 9.1.0 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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-24rc-8hj2-v98c> (advisory, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/pull/10015> (issue-tracking, report, web)
- <https://github.com/python-pillow/Pillow/commit/e7794835e323ff2691d9b3a974cade1a44301b9a> (fix, patch, web)
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-96638> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-96638](https://www.cve.org/CVERecord?id=CVE-2026-96638), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-24rc-8hj2-v98c](https://github.com/advisories/GHSA-24rc-8hj2-v98c), CC-BY-4.0, modified 2026-10-29
- NVD: [CVE-2026-96638](https://nvd.nist.gov/vuln/detail/CVE-2026-96638), Public domain, modified 2026-10-28
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-96638](https://osv.dev/vulnerability/BIT-PILLOW-2026-96638), Apache-2.0, modified 2026-10-29

---

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