CVE-2026-112895
7.5, highPillow is a Python imaging library
- CVSS
- 7.5, high high CVSS v3.1
- EPSS, next 30 days
- 0.4% higher than 35.8% of scored CVEs
- Exploitation
- Exploit code published
- Published
- 19 Oct 20269 days ago
Description
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow can exhaust resources while parsing an existing PDF during an append operation. PdfParser follows page-tree child references without cycle or duplication tracking and follows previous-trailer chains with only an exact repeated-offset guard, so deep or cyclic page trees and long chains of unique trailer offsets can exhaust the Python stack. Repeated non-cyclic /Kids references can also cause super-linear CPU and memory use. An attacker can supply such a PDF to an application that calls Image.save with PDF append enabled. This can raise an uncaught RecursionError or consume excessive CPU and memory before output is written, causing denial of service. This issue is fixed in version 13.0.0.
Details
- Vendor
- Python-pillow
- Product
- Pillow
- Weakness
- CWE-674 (opens in a new tab)
- Status
- Analyzed
- Updated
- 27 Oct 2026
- Assigner
- security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References 3
Exploit code 1
Patches and fixes 1
Other references 1
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Python-pillow CVEs
Every Python-pillow CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-96640 Python-pillow Pillow Uncontrolled Resource Consumption Vulnerability EPSS 0.5% 7.5, high
- CVE-2026-96644 Python-pillow Pillow Out-of-Bounds Read Vulnerability EPSS 0.4% 8.1, high
- CVE-2026-96778 Python-pillow Pillow Out-of-Bounds Write Vulnerability EPSS 0.5% 8.8, high
- CVE-2026-112390 Pillow is a Python imaging library EPSS 0.6% 7.5, high
- CVE-2026-112391 Pillow is a Python imaging library EPSS 0.6% 7.5, high
- CVE-2026-112393 Python-pillow Pillow Heap-based Buffer Overflow Vulnerability EPSS 1% 9.8, critical
- CVE-2026-112394 Pillow is a Python imaging library EPSS 0.6% 8.2, high
- CVE-2026-112395 Python-pillow Pillow Heap-based Buffer Overflow Vulnerability EPSS 0.5% 8.2, high
Beyond this page
Is CVE-2026-112895 in your network?
This page tells you how dangerous CVE-2026-112895 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-112895 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 28 Oct 2026, not the live upstream state.