# CVE-2026-112892: Pillow: MSP RLE decoder expands a tiny file into unbounded memory

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- 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.50%, higher than 36% of CVEs (2026-11-30)
- Published: 2026-10-19T21:35:25.797Z
- Modified: 2026-10-29T10:45:12.281Z
- Also known as: GHSA-gg2r-wvfm-q9rx, BIT-PILLOW-2026-112892
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Pillow is a Python imaging library. From 4.1.0 until 13.0.0, Pillow's MSP RLE decoder can expand a small file into an unbounded in-memory buffer. The decoder writes run-length output to BytesIO without limiting expansion to the declared image size. An attacker can supply a crafted MSP image to an application that loads its pixels. This can exhaust memory and deny service even when the declared pixel count passes the decompression-bomb check. This issue is fixed in version 13.0.0.

(As written by CVE List.)

## Affected

- python-pillow Pillow: >= 4.1.0, < 13.0.0
- pillow (PyPI): from 4.1.0 before 13.0.0
- python pillow: from 4.1.0 before 13.0.0
- pillow (Bitnami): from 4.1.0 before 13.0.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-gg2r-wvfm-q9rx> (advisory, vendor-advisory, web)
- <https://github.com/python-pillow/Pillow/commit/5dcb630b9798efd91929cb873d677aeee6ed0bb3> (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-112892> (advisory, web)
- <https://github.com/python-pillow/Pillow> (package)

## Sources

- CVE List: [CVE-2026-112892](https://www.cve.org/CVERecord?id=CVE-2026-112892), CVE Terms of Use, modified 2026-10-22
- GitHub Advisory Database: [GHSA-gg2r-wvfm-q9rx](https://github.com/advisories/GHSA-gg2r-wvfm-q9rx), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-112892](https://nvd.nist.gov/vuln/detail/CVE-2026-112892), Public domain, modified 2026-10-27
- Bitnami Vulnerability Database: [BIT-PILLOW-2026-112892](https://osv.dev/vulnerability/BIT-PILLOW-2026-112892), Apache-2.0, modified 2026-10-29

---

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