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

CVE-2026-96778

Fixed in a distro release EPSS <1%CVSS 7.7

Pillow is a Python imaging library. From 9.4.0 until 13.0.0, ImagingJpegEncode() in src/libImaging/JpegEncode.c can call jpeg_write_marker() for a JPEG COM comment when an ICC profile has exactly filled the 65536-byte encoder buffer. libjpeg writes one byte before checking the exhausted free_in_buffer counter, which then wraps and permits the attacker-controlled comment and subsequent compressed image data to overwrite adjacent heap memory. Re-saving an untrusted image as JPEG while preserving its ICC profile and forwarded comment can crash the process and may enable code execution in suitable runtime and heap layouts. 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