Vulnerability
CVE-2026-96640
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree without tracking duplicate indirect references. When Image.save(..., format="PDF", append=True) processes an attacker-controlled existing PDF whose /Kids arrays repeatedly reference the same child /Pages node, Pillow expands the shared subtree as distinct pages. A compact malformed PDF can therefore create exponentially many page references and consume disproportionate CPU before the append completes. This issue is fixed in version 13.0.0.
56 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2023-2026-3441
Amazon Linux 2023 - ALAS2023-2026-3441: Important priority package update for python-pillow
-
ALSA-2026:92639
Important: python-pillow security update
- CGA-2cm6-jr9p-2f2p
- CGA-2mqv-vx7f-r497
- CGA-2pj7-59qh-mfpq
- CGA-38xr-v3r4-h5r7
- CGA-3j83-v736-r6hp
- CGA-46fm-vhxf-9m26
- CGA-5chq-phjg-7fgj
- CGA-5w36-6hvv-3q4h
- CGA-68rv-q8c4-w2c3
- CGA-6ccv-wcv2-w2ph
- CGA-785q-7rw4-rmq6
- CGA-8fr8-jg77-gw6v
- CGA-8ph6-597w-xmpq
- CGA-9xcf-3fq4-hv5c
- CGA-cx72-4vw7-wwxj
- CGA-fhcx-f92p-fw54
- CGA-fjjr-h73g-69gp
- CGA-fv83-r4wf-r6x8
- CGA-fw5p-wxx5-ghfp
- CGA-g73q-jcv5-cx5v
- CGA-g8g6-3ff2-fp2r
- CGA-ggr4-xh2f-rmvj
- CGA-jfq8-j3rh-hw55
- CGA-jg69-7frv-65cg
- CGA-q5cm-3gpg-f8ph
- CGA-r5jg-v5pj-xw8m
- CGA-v68c-762g-j758
- CGA-vp67-fm3p-5p32
- CGA-wfmj-7xxx-854w
- CGA-wg87-mw2x-vgcv
- CGA-wrm6-3vc8-rmj8
- CGA-x9jj-2437-9hqf
-
DEBIAN-CVE-2026-96640
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree without tracking duplicate indirect references. When…
-
ELSA-2026-92639
ELSA-2026-92639: python-pillow security update (IMPORTANT)
-
GHSA-mrfp-p49p-3hf2
Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion
-
RHSA-2026:100715
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
RHSA-2026:92639
Red Hat Security Advisory: python-pillow security update
-
RHSA-2026:92861
Red Hat Security Advisory: Satellite 6.19 security update
-
RHSA-2026:95655
Red Hat Security Advisory: Satellite 6.16 EUS security update
-
RHSA-2026:95656
Red Hat Security Advisory: Satellite 6.17 security update
-
RHSA-2026:95657
Red Hat Security Advisory: Satellite 6.18 security update
-
RHSA-2026:98109
Red Hat Security Advisory: python-pillow security update
-
RHSA-2026:98111
Red Hat Security Advisory: python-pillow security update
-
RHSA-2026:98120
Red Hat Security Advisory: python-pillow security update
-
RLSA-2026:92639
Important: python-pillow security update
-
SUSE-SU-2026:24656-1
Security update for python-Pillow
-
SUSE-SU-2026:24701-1
Security update for python-Pillow
-
SUSE-SU-2026:5038-1
Security update for python-Pillow
-
SUSE-SU-2026:5194-1
Security update for python-Pillow
-
UBUNTU-CVE-2026-96640
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree without tracking duplicate indirect references. When…
-
USN-9064-1
pillow vulnerabilities
-
openSUSE-SU-2026:12251-1
python313-Pillow-13.0.0-2.1 on GA media
-
openSUSE-SU-2026:22246-1
Security update for python-Pillow
-
openSUSE-SU-2026:22301-1
Security update for python-Pillow