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.
References
| Link | Resource |
|---|---|
| https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48 | Patch |
| https://github.com/python-pillow/Pillow/releases/tag/13.0.0 | Release Notes |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9 | Exploit Mitigation Patch Vendor Advisory |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9 | Exploit Mitigation Patch Vendor Advisory |
Configurations
History
28 Oct 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9 - Exploit, Mitigation, Patch, Vendor Advisory |
27 Oct 2026, 21:02
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48 - Patch | |
| References | () https://github.com/python-pillow/Pillow/releases/tag/13.0.0 - Release Notes | |
| References | () https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9 - Exploit, Mitigation, Patch, Vendor Advisory | |
| First Time |
Python
Python pillow |
|
| CPE | cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
19 Oct 2026, 22:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-19 22:17
Updated : 2026-10-28 16:17
NVD link : CVE-2026-112399
Mitre link : CVE-2026-112399
CVE.ORG link : CVE-2026-112399
JSON object : View
Products Affected
python
- pillow
CWE
CWE-789
Memory Allocation with Excessive Size Value
