Vulnerabilities / CVE-2026-54058

critical

CVE-2026-54058

Pillow: Pillow: Memory disclosure or denial of service via crafted McIdas AREA image

Published Modified CWE 125
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.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
GHSA8.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Bitnami9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (high), Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high).

Description

Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row stride smaller than the natural row width, causing pixel access such as Image.tobytes(), getpixel, convert, or save to read beyond the mapped region and disclose adjacent process memory or fault. This issue is fixed in version 12.3.0.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasepillow12.3.0
alma 8python3-pillow, python3-pillow-devel, python3-pillow-doc and 1 more5.1.1-23.el8_10
amazon linux 2python-pillow, python-pillow-debuginfo, python-pillow-devel and 3 more2.0.0-23.gitd1c6db8.amzn2.0.20
amazon linux 2023python-pillow-debuginfo, python-pillow-debugsource, python3-pillow and 4 more9.4.0-2.amzn2023.0.10
chainguardlabel-studio, lmcache-cuda-12.8, mlflow and 11 more1.23.0-r11 and 12 more
debian 11pillowno fix listed
debian 12pillowno fix listed
debian 13pillowno fix listed
debian 14pillow12.3.0-1
echopillowno fix listed
echo pip::Echo OSVpillow12.1.1+echo.3
minimosacapy-agent-1.3, acapy-agent-1.6, label-studio and 4 more1.3.4-r1 and 5 more
Show all 70 entries from 22 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasepillow12.3.0
alma 8python3-pillow5.1.1-23.el8_10
alma 8python3-pillow-devel5.1.1-23.el8_10
alma 8python3-pillow-doc5.1.1-23.el8_10
alma 8python3-pillow-tk5.1.1-23.el8_10
amazon linux 2python-pillow2.0.0-23.gitd1c6db8.amzn2.0.20
amazon linux 2python-pillow-debuginfo2.0.0-23.gitd1c6db8.amzn2.0.20
amazon linux 2python-pillow-devel2.0.0-23.gitd1c6db8.amzn2.0.20
amazon linux 2python-pillow-doc2.0.0-23.gitd1c6db8.amzn2.0.20
amazon linux 2python-pillow-sane2.0.0-23.gitd1c6db8.amzn2.0.20
amazon linux 2python-pillow-tk2.0.0-23.gitd1c6db8.amzn2.0.20
amazon linux 2023python-pillow-debuginfo9.4.0-2.amzn2023.0.10
amazon linux 2023python-pillow-debugsource9.4.0-2.amzn2023.0.10
amazon linux 2023python3-pillow9.4.0-2.amzn2023.0.10
amazon linux 2023python3-pillow-debuginfo9.4.0-2.amzn2023.0.10
amazon linux 2023python3-pillow-devel9.4.0-2.amzn2023.0.10
amazon linux 2023python3-pillow-tk9.4.0-2.amzn2023.0.10
amazon linux 2023python3-pillow-tk-debuginfo9.4.0-2.amzn2023.0.10
chainguardlabel-studio1.23.0-r11
chainguardlmcache-cuda-12.80.5.3-r0
chainguardmlflow3.16.0-r0
chainguardopen-webui0.11.0-r0
chainguardopenstack-horizon-2025.225.5.2_git20260617-r4
chainguardopenstack-horizon-2025.2-fips25.5.2_git20260617-r5
chainguardopenstack-horizon-2026.125.7.3_git20260630-r2
chainguardopenstack-horizon-2026.1-fips25.7.3_git20260630-r2
chainguardsuperset-6.06.0.0-r13
chainguardsuperset-6.16.1.0-r6
chainguardsuperset-fips-6.16.1.0-r5
chainguardtensorflow-gpu-jupyter2.21.0-r7
chainguardtext-generation-inference3.3.7-r20
chainguardtritonserver-backend-vllm-cuda-13.025.11-r11
debian 11pillowno fix listed
debian 12pillowno fix listed
debian 13pillowno fix listed
debian 14pillow12.3.0-1
echopillowno fix listed
echo pip::Echo OSVpillow12.1.1+echo.3
minimosacapy-agent-1.31.3.4-r1
minimosacapy-agent-1.61.6.1-r0
minimoslabel-studio1.23.1-r0
minimoslitellm-1.831.83.10-r0
minimosmlflow3.14.0-r1
minimosvllm-cu1290.25.0-r0
minimosvllm-cu1300.25.0-r0
Oracle Linux 8python3-pillow5.1.1-23.el8_10
Oracle Linux 8python3-pillow-devel5.1.1-23.el8_10
Oracle Linux 8python3-pillow-doc5.1.1-23.el8_10
Oracle Linux 8python3-pillow-tk5.1.1-23.el8_10
pip::GitHub Security Advisory pippillow12.3.0
rapidfort amazon linux 2023python3-pillow9.4.0-2.amzn2023.0.10
rapidfort amazon linux 2023python3-pillow-devel9.4.0-2.amzn2023.0.10
rapidfort amazon linux 2023python3-pillow-tk9.4.0-2.amzn2023.0.10
rapidfort debian 12pillow0:12.3.0-1
rapidfort debian 13pillow0:12.3.0-1
rapidfort fedora 43mingw32-python3-pillow11.3.0-10.fc43
rapidfort fedora 43mingw64-python3-pillow11.3.0-10.fc43
rapidfort fedora 43python-pillow11.3.0-10.fc43
rapidfort fedora 43python3-pillow-devel11.3.0-10.fc43
rapidfort fedora 43python3-pillow-qt11.3.0-10.fc43
rapidfort fedora 43python3-pillow-tk11.3.0-10.fc43
Red Hatpython-pillowno fix listed
Red Hatsatellite:el8::python-pillowno fix listed
rocky 8python3-pillow5.1.1-23.el8_10
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
wolfimlflow3.16.0-r0
wolfiopen-webui0.11.0-r0
wolfisuperset-6.06.0.0-r13
wolfisuperset-6.16.1.0-r6

References

All 22 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.