CVE-2026-112391: python-pillow pillow Infinite Loop
CVSS: 6.3v4.0MediumReceived
Published 19-10-2026Last modified 19-10-2026
Vulnerability summary
CVE-2026-112391 is a medium (CVSS 6.3) Infinite Loop vulnerability in python-pillow pillow.
CVSS score
6.3/10
010
Medium · v4.0 (CVE.org)EPSS score
Not scored
0%100%
No EPSS score yetKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 19-10-2026PublishedVulnerability first disclosed.
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.
CVSS metrics
2 scores · 2 sources · 1 versionMedium 6.3Preferred score · CVE.org (CNA)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NSourcesAll 2 agree
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Python-pillow1 product
- pillow≥ 5.1.0, < 13.0.0
1 vendor · 1 product
References
3 links- github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288hX Refsource CONFIRM
- github.com/python-pillow/Pillow/releases/tag/13.0.0X Refsource MISC