Vulnerabilities / CVE-2026-112393

critical

CVE-2026-112393

Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow ha ...

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

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Bitnami9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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

Description

Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasepillow13.0.0
pip::GitHub Security Advisory pippillow13.0.0
chainguardapache-beam-python-3.12-sdk, nemo-gym, nemo-rl-cuda-13.0 and 6 more2.77.0-r5 and 8 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 amazon linux 2023python-pillowno fix listed
rapidfort debian 12pillow0:13.0.0-1
rapidfort debian 13pillow0:13.0.0-1
Show all 24 entries from 14 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasepillow13.0.0
pip::GitHub Security Advisory pippillow13.0.0
chainguardapache-beam-python-3.12-sdk2.77.0-r5
chainguardnemo-gym0.5.0_rc0_git20260729-r6
chainguardnemo-rl-cuda-13.00.7.0-r11
chainguardnemo-skills0.7.0_git20260911-r5
chainguardopen-webui0.12.3-r6
chainguardopenstack-horizon-2025.225.5.2_git20260914-r12
chainguardpy3-pillow13.0.0-r0
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 amazon linux 2023python-pillowno fix listed
rapidfort debian 12pillow0:13.0.0-1
rapidfort debian 13pillow0:13.0.0-1
seal pip::Seal Security Databasepillow10.0.1+sp999, 7.2.0+sp999, 9.3.0+sp999, 9.5.0+sp999
seal pip::Seal Security Databaseseal-pillow10.0.1+sp999, 7.2.0+sp999, 9.3.0+sp999, 9.5.0+sp999
wolfiopen-webui0.12.3-r6
wolfipy3-pillow13.0.0-r0

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.