Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-96640

Fixed in a distro release EPSS <1%CVSS 8.2

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.

Published 2026-10-21 · CVE record · OSV

Products: python-pillow Pillow

Fixed upstream

EcosystemPackageFixed in
PyPIpillow13.0.0

Distro releases

ReleasePackageFixed in
Chainguardmlflowno fix
Chainguardmlflow-fipsno fix
Chainguardnemo-gym0.5.0_rc0_git20260729-r6
Chainguardnemo-rl-cuda-13.00.7.0-r11
Chainguardnemo-rl-cuda-13.0-automodel0.7.0-r11
Chainguardnemo-rl-cuda-13.0-mcore0.7.0-r11
Chainguardnemo-rl-cuda-13.0-sglang0.7.0-r11
Chainguardnemo-rl-cuda-13.0-vllm0.7.0-r11
Chainguardnemo-skillsno fix
Chainguardopen-webuino fix
Chainguardpy3.10-pytorch-cuda-12.6no fix
Chainguardpy3.10-pytorch-cuda-13.0no fix
Chainguardpy3.10-pytorch-cuda-13.2no fix
Chainguardpy3.10-vllm-cuda-12.4no fix
Chainguardpy3.11-pytorch-cuda-13.02.14.1-r2
Chainguardpy3.12-pytorch-cuda-13.02.14.1-r2
Chainguardpy3.13-pytorch-cuda-13.02.14.1-r2
Chainguardpy3.14-pytorch-cuda-13.02.14.1-r2
Chainguardsuperset-fips-6.16.1.0-r11
Debian 12pillowno fix
Debian 13pillowno fix
Debian 14pillowno fix
Ubuntu 22.04 LTSpillowno fix
Ubuntu 24.04 LTSpillowno fix
Ubuntu 26.04 LTSpillowno fix
Ubuntu 26.10pillowno fix
Ubuntu Pro 14.04 LTSpillowno fix
Ubuntu Pro 16.04 LTSpillowno fix
Ubuntu Pro 18.04 LTSpillowno fix
Ubuntu Pro 20.04 LTSpillowno fix
Ubuntu Pro 20.04 LTSpillow-python2no fix
Wolfimlflowno fix
Wolfiopen-webuino fix
openSUSE Tumbleweedpython-Pillow13.0.0-2.1