High severity7.5NVD Advisory· Published Oct 19, 2026· Updated Oct 28, 2026
CVE-2026-112399
CVE-2026-112399
Description
Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow can allocate an APNG disposal background at the full canvas size before applying the decompression-bomb check. A crafted APNG with a small first frame, a very large declared canvas, and background disposal or first-frame OP_PREVIOUS reaches PngImageFile._seek while Image.open() positions frame zero. The full-canvas allocation occurs inside Image.open() without requiring pixel loading or frame iteration. This can exhaust memory and deny service. 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 | >= 8.1.0, < 13.0.0 | 13.0.0 |
Affected products
5cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*range: >=8.1.0,<13.0.0
- (no CPE)range: 8.1.0 - 13.0.0
- osv-coords3 versionspkg:bitnami/pillowpkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-Pillow&distro=openSUSE%20Leap%2016.1
>= 8.1.0, < 13.0.0+ 2 more
- (no CPE)range: >= 8.1.0, < 13.0.0
- (no CPE)range: < 11.3.0-160000.9.1
- (no CPE)range: < 11.3.0-160100.3.1
Patches
Vulnerability mechanics
References
5- github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48nvdPatchWEB
- github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9nvdExploitMitigationPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-5xm2-6676-qcp9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-112399ghsaADVISORY
- 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