Vulnerabilities / CVE-2026-96639

critical

CVE-2026-96639

Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-fr ...

Published Modified CWE 125, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by GHSA.

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
pip::GitHub Security Advisory pippillow13.0.0
chainguardnemo-gym, nemo-rl-cuda-13.0, nemo-skills and 2 more0.5.0_rc0_git20260729-r6 and 4 more
debian 11pillowno fix listed
debian 12pillowno fix listed
debian 13pillowno fix listed
debian 14pillowno fix listed
echopillowno fix listed
echo pip::Echo OSVpillow12.3.0+echo.1
rapidfort debian 12pillow0:13.0.0-1
rapidfort debian 13pillow0:13.0.0-1
Show all 14 entries from 10 sources
SourcePackageFixed in
pip::GitHub Security Advisory pippillow13.0.0
chainguardnemo-gym0.5.0_rc0_git20260729-r6
chainguardnemo-rl-cuda-13.00.7.0-r11
chainguardnemo-skills0.7.0_git20260911-r5
chainguardpy3-pytorch-cuda-13.02.14.1-r2
chainguardsuperset-fips-6.16.1.0-r11
debian 11pillowno fix listed
debian 12pillowno fix listed
debian 13pillowno fix listed
debian 14pillowno fix listed
echopillowno fix listed
echo pip::Echo OSVpillow12.3.0+echo.1
rapidfort debian 12pillow0:13.0.0-1
rapidfort debian 13pillow0:13.0.0-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.