Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow's PdfParser.get_value() can recurse without a limit while reading nested PDF objects. The parser follows attacker-controlled arrays and dictionaries when an existing PDF is opened for append. An attacker can provide a deeply nested PDF to an application that saves an image with PDF append enabled. This can raise an uncaught RecursionError or terminate the worker, causing denial of service. This issue is fixed in version 13.0.0.
References
| Link | Resource |
|---|---|
| https://github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cd | Patch |
| https://github.com/python-pillow/Pillow/releases/tag/13.0.0 | Release Notes |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288h | Exploit Vendor Advisory |
Configurations
History
23 Oct 2026, 17:00
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| First Time |
Python
Python pillow |
|
| References | () https://github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cd - 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-254f-3936-288h - Exploit, Vendor Advisory |
19 Oct 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-19 21:17
Updated : 2026-10-23 17:00
NVD link : CVE-2026-112391
Mitre link : CVE-2026-112391
CVE.ORG link : CVE-2026-112391
JSON object : View
Products Affected
python
- pillow
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
