---
title: "CVE-2026-112391"
canonical_url: "https://pkgseek.com/security/CVE-2026-112391"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-112391

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.

CVE-2026-112391 is rated HIGH (7.5), with 9 indexed affected package builds across 4 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 9
- **Affected distros**: 4
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | python3-pillow | 5.1.1-23.al8 | 5.1.1-36.al8 |
| Debian | trixie | python3-pil | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python3-pil.imagetk | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python-pil-doc | 11.1.0-5+deb13u4 | — |
| Oracle Linux | 8 | python3-pillow | 5.1.1-23.el8_10 | 5.1.1-33.el8_10 |
| Ubuntu | jammy | python3-pil | 9.0.1-1build1 | — |
| Ubuntu | jammy | python-pil-doc | 9.0.1-1build1 | — |
| Ubuntu | noble | python3-pil | 10.2.0-1build1 | — |
| Ubuntu | noble | python-pil-doc | 10.2.0-1build1 | — |
