CVE-2026-96639
Fixed in a distro release EPSS <1%CVSS 9.8
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.
Products: python-pillow Pillow
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | pillow | 13.0.0 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | mlflow | no fix |
| Chainguard | mlflow-fips | no fix |
| Chainguard | nemo-gym | 0.5.0_rc0_git20260729-r6 |
| Chainguard | nemo-rl-cuda-13.0 | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-automodel | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-mcore | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-sglang | 0.7.0-r11 |
| Chainguard | nemo-rl-cuda-13.0-vllm | 0.7.0-r11 |
| Chainguard | nemo-skills | no fix |
| Chainguard | open-webui | no fix |
| Chainguard | py3.10-pytorch-cuda-12.6 | no fix |
| Chainguard | py3.10-pytorch-cuda-13.0 | no fix |
| Chainguard | py3.10-pytorch-cuda-13.2 | no fix |
| Chainguard | py3.10-vllm-cuda-12.4 | no fix |
| Chainguard | py3.11-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | py3.12-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | py3.13-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | py3.14-pytorch-cuda-13.0 | 2.14.1-r2 |
| Chainguard | superset-fips-6.1 | 6.1.0-r11 |
| Debian 12 | pillow | no fix |
| Debian 13 | pillow | no fix |
| Debian 14 | pillow | no fix |
| Ubuntu 22.04 LTS | pillow | no fix |
| Ubuntu 24.04 LTS | pillow | no fix |
| Ubuntu 26.04 LTS | pillow | no fix |
| Ubuntu 26.10 | pillow | no fix |
| Ubuntu Pro 14.04 LTS | pillow | no fix |
| Ubuntu Pro 16.04 LTS | pillow | no fix |
| Ubuntu Pro 18.04 LTS | pillow | no fix |
| Ubuntu Pro 20.04 LTS | pillow | no fix |
| Ubuntu Pro 20.04 LTS | pillow-python2 | no fix |
| Wolfi | mlflow | no fix |
| Wolfi | open-webui | no fix |