High severity7.5NVD Advisory· Published Oct 19, 2026· Updated Oct 26, 2026
CVE-2026-112392
CVE-2026-112392
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() allocates a non-empty output and then faults while replicating edges by reading the first pixel from empty input storage; ImagingRankFilter is never reached. An attacker can supply or cause creation of a zero-size image to an application that applies a rank, median, minimum, or maximum filter. This causes a native process crash. 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 | < 13.0.0 | 13.0.0 |
Affected products
10- osv-coords8 versionspkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Leap%2016.0pkg:rpm/almalinux/python3-pillowpkg:rpm/almalinux/python3-pillow-docpkg:rpm/almalinux/python3-pillow-develpkg:bitnami/pillowpkg:rpm/almalinux/python3-pillow-tkpkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Leap%2016.1pkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Tumbleweed
< 11.3.0-160000.9.1+ 7 more
- (no CPE)range: < 11.3.0-160000.9.1
- (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: < 13.0.0
- (no CPE)range: < 5.1.1-33.el8_10
- (no CPE)range: < 11.3.0-160100.3.1
- (no CPE)range: < 13.0.0-1.1
<13.0.0+ 1 more
- (no CPE)range: <13.0.0
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*range: <13.0.0
Patches
Vulnerability mechanics
References
5- github.com/python-pillow/Pillow/commit/443e3130a8c11594fd0e296afad497e11e678961nvdPatchWEB
- github.com/python-pillow/Pillow/security/advisories/GHSA-27h8-gf7j-v5hcnvdExploitPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-27h8-gf7j-v5hcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-112392ghsaADVISORY
- 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