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

CVE-2026-112895

Fixed in a distro release EPSS <1%CVSS 8.7

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.

Published 2026-10-19 · CVE record · OSV

Products: python-pillow Pillow

Fixed upstream

EcosystemPackageFixed in
PyPIpillow13.0.0

Distro releases

ReleasePackageFixed in
Chainguardapache-beam-python-3.11-sdk2.77.0-r2
Chainguardapache-beam-python-3.12-sdk2.77.0-r5
Chainguardapache-beam-python-3.13-sdk2.77.0-r5
Chainguardapache-beam-python-3.14-sdk2.77.0-r5
Chainguardgftools0.10.4-r1
Chainguardjupyter-all-spark-notebook7.6.1_git20261016-r1
Chainguardkserve-storage-controller0.21.0-r9
Chainguardkserve-xgbserver0.21.0-r3
Chainguardkubeflow-pipelines-visualization-server2.17.2-r7
Chainguardlabel-studio1.23.2-r2
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
Chainguardnetboxno fix
Chainguardnetbox-fipsno fix
Chainguardnetbox-fips4.7.3-r1
Chainguardopen-webuino fix
Chainguardopen-webui0.12.3-r6
Chainguardopenstack-horizon-2025.225.5.2_git20260914-r12
Chainguardopenstack-horizon-2025.2-fipsno fix
Chainguardopenstack-horizon-2025.2-fips25.5.2_git20260914-r10
Chainguardopenstack-horizon-2026.1no fix
Chainguardopenstack-horizon-2026.1-fips25.7.3_git20261019-r1
Chainguardpgadmin49.18-r6
Chainguardpgadmin4-fips9.18-r8
Chainguardpy3.10-pillowno 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-pillow13.0.0-r0
Chainguardpy3.11-pytorch-cuda-13.02.14.1-r2
Chainguardpy3.12-pillow13.0.0-r0
Chainguardpy3.12-pytorch-cuda-13.02.14.1-r2
Chainguardpy3.13-pillow13.0.0-r0
Chainguardpy3.13-pytorch-cuda-13.02.14.1-r2
Chainguardpy3.14-pytorch-cuda-13.02.14.1-r2
Chainguardsuperset-5.05.0.0-r45
Chainguardsuperset-6.06.0.0-r21
Chainguardsuperset-6.16.1.0-r16
Chainguardsuperset-6.1no fix
Chainguardsuperset-fips-6.16.1.0-r11
Chainguardtensorflow-cpu-jupyter2.21.0-r13
Chainguardtensorflow-gpu-jupyter2.21.0-r13
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
Wolfigftools0.10.4-r1
Wolfikserve-storage-controller0.21.0-r9
Wolfikubeflow-pipelines-visualization-server2.17.2-r7
Wolfimlflowno fix
Wolfiopen-webui0.12.3-r6
Wolfiopen-webuino fix
Wolfipy3.10-pillowno fix
Wolfipy3.11-pillow13.0.0-r0
Wolfipy3.12-pillow13.0.0-r0
Wolfipy3.13-pillow13.0.0-r0
Wolfisuperset-6.06.0.0-r21
Wolfisuperset-6.16.1.0-r16
Wolfisuperset-6.1no fix