CVE-2026-112391CWE-835

CVE-2026-112391

High · published October 20, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
20.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
6.3 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS
0.00291 · 20.6th percentile
Weakness
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Published
2026-10-20T01:17Z
Affected products (1)
ProductVersionsFixed in
python/pillow≥ 5.1.0, < 13.0.013.0.0
References (3)
EPSS history
Timeline
  • 21 OCT 03:27Z
    EPSS moved — → 0%
    epss
  • 19 OCT 20:40Z
    Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()
    cvelistv5
  • 19 OCT 20:40Z
    Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()
    cvelistv5