Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Core Java Libraries). Supported versions that are affected are Oracle Java SE: 8u511b33, 8u511b33-perf, 11.0.33.0.3, 17.0.21.…
8.7High
CVE-2026-112406Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle
Description
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow can enter an infinite loop while rewriting PDF pages. PdfParser.rewrite_pages() follows Parent relationships without detecting a cycle in the page tree. An attacker can supply a cyclic PDF to an application that appends an image to that PDF. This can hold the worker at full CPU and deny service. This issue is fixed in version 13.0.0.
Weakness (CWE):
CWE-835
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| python | pillow | 5.1.0 – < 13.0.0 | |
| python-pillow | Pillow | >= 5.1.0, < 13.0.0 |
Ubuntu fixes
- USN-9064-1 Pillow vulnerabilities
References and patches
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-f2g6-542v-9j58 ExploitMitigationPatchVendor Advisory
- https://github.com/python-pillow/Pillow/commit/b3ebf20c694f2f12537a629c30229a1d5a53f777 Patch
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 Release Notes
CPE matches (NVD) (1)
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*≥ 5.1.0 < 13.0.0