High severity7.5NVD Advisory· Published Oct 19, 2026· Updated Oct 27, 2026
CVE-2026-112892
CVE-2026-112892
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pillowPyPI | >= 4.1.0, < 13.0.0 | 13.0.0 |
Affected products
10- Range: 4.1.0 to 13.0.0
- osv-coords8 versionspkg:bitnami/pillowpkg:rpm/almalinux/python3-pillowpkg:rpm/almalinux/python3-pillow-develpkg:rpm/almalinux/python3-pillow-docpkg:rpm/almalinux/python3-pillow-tkpkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Leap%2016.1pkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Tumbleweed
>= 4.1.0, < 13.0.0+ 7 more
- (no CPE)range: >= 4.1.0, < 13.0.0
- (no CPE)range: < 5.1.1-33.el8_10
- (no CPE)range: < 5.1.1-33.el8_10
- (no CPE)range: < 5.1.1-33.el8_10
- (no CPE)range: < 5.1.1-33.el8_10
- (no CPE)range: < 11.3.0-160000.9.1
- (no CPE)range: < 11.3.0-160100.3.1
- (no CPE)range: < 13.0.0-1.1
Patches
Vulnerability mechanics
References
5- github.com/python-pillow/Pillow/commit/5dcb630b9798efd91929cb873d677aeee6ed0bb3nvdPatchWEB
- github.com/advisories/GHSA-gg2r-wvfm-q9rxghsaADVISORY
- github.com/python-pillow/Pillow/security/advisories/GHSA-gg2r-wvfm-q9rxnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-112892ghsaADVISORY
- github.com/python-pillow/Pillow/releases/tag/13.0.0nvdRelease NotesWEB
News mentions
1- Pillow: 25 Vulnerabilities Disclosed Together, Ranging from Critical to MediumVypr Intelligence · Oct 19, 2026