Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-112895

pillow: pillow: Denial of service via crafted PDF during append operations

Overview

Published
19 Oct 2026
Modified
27 Oct 2026
High CVE
4 Registry packages
43 OS packages
11 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-674

Affected packages · 4

Packages affected by CVE-2026-112895
EcosystemPackageVulnerableFixed in
Bitnami pillow >=5.1.0, <13.0.0 13.0.0
PyPI pillow >=5.1.0, <13.0.0 13.0.0
Seal PyPI pillow >=10.0.1+sp0, <10.0.1+sp999>=7.2.0+sp0, <7.2.0+sp999>=9.3.0+sp0, <9.3.0+sp999>=9.5.0+sp0, <9.5.0+sp999 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999
Seal PyPI seal-pillow >=10.0.1+sp1, <10.0.1+sp999>=7.2.0+sp1, <7.2.0+sp999>=9.3.0+sp1, <9.3.0+sp999>=9.5.0+sp1, <9.5.0+sp999 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999

Open a package to see all its vulnerabilities.

Operating systems · 62 fixes

Oracle Linux 1 release · 1 package

fixed 1
python3-pillow
Oracle Linux fixes for CVE-2026-112895
ReleasePackageFixed in
8 python3-pillow +3 5.1.1-33.el8_10

Red Hat 2 releases · 2 packages

affected 1 fixed 4
python-pillow python3-pillow
Red Hat fixes for CVE-2026-112895
ReleasePackageFixed inAdvisory
7 python-pillow +1 affected —
8 python3-pillow 0:5.1.1-15.el8_4.3 RHSA-2026:98120
8 python3-pillow 0:5.1.1-20.el8_6.2 RHSA-2026:98111
8 python3-pillow 0:5.1.1-20.el8_8.2 RHSA-2026:98109
8 python3-pillow +3 0:5.1.1-33.el8_10 RHSA-2026:92639

SUSE Linux Enterprise 6 releases · 3 packages

fixed 7
python311-pillow python3-pillow python313-pillow
SUSE Linux Enterprise fixes for CVE-2026-112895
ReleasePackageFixed inAdvisory
15.4 python311-pillow +1 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
15.5 python311-pillow +1 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
15.6 python311-pillow +1 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
15.7 python3-pillow 7.2.0-150300.3.33.1 SUSE-SU-2026:5038-1
15.7 python311-pillow +1 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
16.0 python313-pillow +1 11.3.0-160000.9.1 SUSE-SU-2026:24656-1

1 more row

alma 1 release · 1 package

fixed 1
python3-pillow
alma fixes for CVE-2026-112895
ReleasePackageFixed in
8 python3-pillow +3 5.1.1-33.el8_10

chainguard 1 release · 28 packages

fixed 28
gftools open-webui kserve-xgbserver kserve nemo-gym nemo-rl-cuda-13-0 +22
chainguard fixes for CVE-2026-112895
ReleasePackageFixed in
gftools 0.10.4-r1
open-webui 0.12.3-r6
kserve-xgbserver 0.21.0-r3
kserve 0.21.0-r9
nemo-gym 0.5.0_rc0_git20260729-r6
nemo-rl-cuda-13-0 0.7.0-r11

22 more rows

debian 4 releases · 1 package

affected 3 fixed 1
pillow
debian fixes for CVE-2026-112895
ReleasePackageFixed in
11 pillow affected
12 pillow affected
13 pillow affected
14 pillow 13.0.0-1

echo 1 release · 1 package

affected 1
pillow
echo fixes for CVE-2026-112895
ReleasePackageFixed in
pillow affected

openSUSE Leap 2 releases · 1 package

fixed 2
python313-pillow
openSUSE Leap fixes for CVE-2026-112895
ReleasePackageFixed inAdvisory
16.0 python313-pillow +1 11.3.0-160000.9.1 openSUSE-SU-2026:22246-1
16.1 python313-pillow +1 11.3.0-160100.3.1 openSUSE-SU-2026:22301-1

rocky 1 release · 1 package

fixed 1
python3-pillow
rocky fixes for CVE-2026-112895
ReleasePackageFixed in
8 python3-pillow 5.1.1-33.el8_10

ubuntu 5 releases · 1 package

fixed 5
pillow
ubuntu fixes for CVE-2026-112895
ReleasePackageFixed in
18.04-ESM pillow 5.1.0-1ubuntu0.8+esm3
20.04-ESM pillow 7.0.0-4ubuntu0.9+esm2
22.04 pillow 9.0.1-1ubuntu0.7
24.04 pillow 10.2.0-1ubuntu1.5
26.04 pillow 12.1.1-2ubuntu1.5

wolfi 1 release · 7 packages

fixed 7
gftools open-webui kserve py3-pillow kubeflow-pipelines-visualization-server superset-6-0 +1
wolfi fixes for CVE-2026-112895
ReleasePackageFixed in
gftools 0.10.4-r1
open-webui 0.12.3-r6
kserve 0.21.0-r9
py3-pillow 13.0.0-r0
kubeflow-pipelines-visualization-server 2.17.2-r7
superset-6-0 6.0.0-r21

1 more row

References

Show all 44 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.