High severity7.5NVD Advisory· Published Oct 19, 2026· Updated Oct 23, 2026
CVE-2026-112391
CVE-2026-112391
Description
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.
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 | >= 5.1.0, < 13.0.0 | 13.0.0 |
Affected products
9cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*range: >=5.1.0,<13.0.0
- (no CPE)range: 5.1.0 - 13.0.0
- osv-coords7 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.1
>= 5.1.0, < 13.0.0+ 6 more
- (no CPE)range: >= 5.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
Patches
Vulnerability mechanics
References
5- github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cdnvdPatchWEB
- github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288hnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-254f-3936-288hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-112391ghsaADVISORY
- github.com/python-pillow/Pillow/releases/tag/13.0.0nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.