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

CVE-2026-112396

Fixed in a distro release EPSS <1%CVSS 5.9

Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced TIFF tags to BytesIO, libtiff can reject a tag during encoding in ImagingLibTiffEncode; the error path then frees the output buffer without closing or clearing the TIFF handle, and later cleanup flushes through the write callback into freed memory, which can crash the process and may enable code execution. 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.12-sdk2.77.0-r5
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
Chainguardopen-webui0.12.3-r6
Chainguardopenstack-horizon-2025.2no fix
Chainguardopenstack-horizon-2025.225.5.2_git20260914-r12
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-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-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
openSUSE Tumbleweedpython-Pillow13.0.0-1.1