Skip to content
pkgseek
Back to CVE search

CVE-2026-112895

high · 7.5

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 c…

First indexed 11/19/2026View on NVD

Advisory Facts

Markdown

CVE-2026-112895 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
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2026-112895?locale=en

Distribution-aware status

4
Distributions
9
Package/release records
4
Vendor advisories
2
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

9 affected package/release combinations
python3-pillow
3x86_64
5.1.1-23.al8Fixed in 5.1.1-36.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python3-pillow
python3-pillow
8x86_64
5.1.1-23.el8_10Fixed in 5.1.1-33.el8_10
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python3-pillow