CVE-2026-54058
Pillow: Pillow: Memory disclosure or denial of service via crafted McIdas AREA image
Severity by source
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
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 12.3.0 |
| alma 8 | python3-pillow, python3-pillow-devel, python3-pillow-doc and 1 more | 5.1.1-23.el8_10 |
| amazon linux 2 | python-pillow, python-pillow-debuginfo, python-pillow-devel and 3 more | 2.0.0-23.gitd1c6db8.amzn2.0.20 |
| amazon linux 2023 | python-pillow-debuginfo, python-pillow-debugsource, python3-pillow and 4 more | 9.4.0-2.amzn2023.0.10 |
| chainguard | label-studio, lmcache-cuda-12.8, mlflow and 11 more | 1.23.0-r11 and 12 more |
| debian 11 | pillow | no fix listed |
| debian 12 | pillow | no fix listed |
| debian 13 | pillow | no fix listed |
| debian 14 | pillow | 12.3.0-1 |
| echo | pillow | no fix listed |
| echo pip::Echo OSV | pillow | 12.1.1+echo.3 |
| minimos | acapy-agent-1.3, acapy-agent-1.6, label-studio and 4 more | 1.3.4-r1 and 5 more |
Show all 70 entries from 22 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 12.3.0 |
| alma 8 | python3-pillow | 5.1.1-23.el8_10 |
| alma 8 | python3-pillow-devel | 5.1.1-23.el8_10 |
| alma 8 | python3-pillow-doc | 5.1.1-23.el8_10 |
| alma 8 | python3-pillow-tk | 5.1.1-23.el8_10 |
| amazon linux 2 | python-pillow | 2.0.0-23.gitd1c6db8.amzn2.0.20 |
| amazon linux 2 | python-pillow-debuginfo | 2.0.0-23.gitd1c6db8.amzn2.0.20 |
| amazon linux 2 | python-pillow-devel | 2.0.0-23.gitd1c6db8.amzn2.0.20 |
| amazon linux 2 | python-pillow-doc | 2.0.0-23.gitd1c6db8.amzn2.0.20 |
| amazon linux 2 | python-pillow-sane | 2.0.0-23.gitd1c6db8.amzn2.0.20 |
| amazon linux 2 | python-pillow-tk | 2.0.0-23.gitd1c6db8.amzn2.0.20 |
| amazon linux 2023 | python-pillow-debuginfo | 9.4.0-2.amzn2023.0.10 |
| amazon linux 2023 | python-pillow-debugsource | 9.4.0-2.amzn2023.0.10 |
| amazon linux 2023 | python3-pillow | 9.4.0-2.amzn2023.0.10 |
| amazon linux 2023 | python3-pillow-debuginfo | 9.4.0-2.amzn2023.0.10 |
| amazon linux 2023 | python3-pillow-devel | 9.4.0-2.amzn2023.0.10 |
| amazon linux 2023 | python3-pillow-tk | 9.4.0-2.amzn2023.0.10 |
| amazon linux 2023 | python3-pillow-tk-debuginfo | 9.4.0-2.amzn2023.0.10 |
| chainguard | label-studio | 1.23.0-r11 |
| chainguard | lmcache-cuda-12.8 | 0.5.3-r0 |
| chainguard | mlflow | 3.16.0-r0 |
| chainguard | open-webui | 0.11.0-r0 |
| chainguard | openstack-horizon-2025.2 | 25.5.2_git20260617-r4 |
| chainguard | openstack-horizon-2025.2-fips | 25.5.2_git20260617-r5 |
| chainguard | openstack-horizon-2026.1 | 25.7.3_git20260630-r2 |
| chainguard | openstack-horizon-2026.1-fips | 25.7.3_git20260630-r2 |
| chainguard | superset-6.0 | 6.0.0-r13 |
| chainguard | superset-6.1 | 6.1.0-r6 |
| chainguard | superset-fips-6.1 | 6.1.0-r5 |
| chainguard | tensorflow-gpu-jupyter | 2.21.0-r7 |
| chainguard | text-generation-inference | 3.3.7-r20 |
| chainguard | tritonserver-backend-vllm-cuda-13.0 | 25.11-r11 |
| debian 11 | pillow | no fix listed |
| debian 12 | pillow | no fix listed |
| debian 13 | pillow | no fix listed |
| debian 14 | pillow | 12.3.0-1 |
| echo | pillow | no fix listed |
| echo pip::Echo OSV | pillow | 12.1.1+echo.3 |
| minimos | acapy-agent-1.3 | 1.3.4-r1 |
| minimos | acapy-agent-1.6 | 1.6.1-r0 |
| minimos | label-studio | 1.23.1-r0 |
| minimos | litellm-1.83 | 1.83.10-r0 |
| minimos | mlflow | 3.14.0-r1 |
| minimos | vllm-cu129 | 0.25.0-r0 |
| minimos | vllm-cu130 | 0.25.0-r0 |
| Oracle Linux 8 | python3-pillow | 5.1.1-23.el8_10 |
| Oracle Linux 8 | python3-pillow-devel | 5.1.1-23.el8_10 |
| Oracle Linux 8 | python3-pillow-doc | 5.1.1-23.el8_10 |
| Oracle Linux 8 | python3-pillow-tk | 5.1.1-23.el8_10 |
| pip::GitHub Security Advisory pip | pillow | 12.3.0 |
| rapidfort amazon linux 2023 | python3-pillow | 9.4.0-2.amzn2023.0.10 |
| rapidfort amazon linux 2023 | python3-pillow-devel | 9.4.0-2.amzn2023.0.10 |
| rapidfort amazon linux 2023 | python3-pillow-tk | 9.4.0-2.amzn2023.0.10 |
| rapidfort debian 12 | pillow | 0:12.3.0-1 |
| rapidfort debian 13 | pillow | 0:12.3.0-1 |
| rapidfort fedora 43 | mingw32-python3-pillow | 11.3.0-10.fc43 |
| rapidfort fedora 43 | mingw64-python3-pillow | 11.3.0-10.fc43 |
| rapidfort fedora 43 | python-pillow | 11.3.0-10.fc43 |
| rapidfort fedora 43 | python3-pillow-devel | 11.3.0-10.fc43 |
| rapidfort fedora 43 | python3-pillow-qt | 11.3.0-10.fc43 |
| rapidfort fedora 43 | python3-pillow-tk | 11.3.0-10.fc43 |
| Red Hat | python-pillow | no fix listed |
| Red Hat | satellite:el8::python-pillow | no fix listed |
| rocky 8 | python3-pillow | 5.1.1-23.el8_10 |
| seal pip::Seal Security Database | pillow | 10.0.1+sp999, 7.2.0+sp999, 9.3.0+sp999, 9.5.0+sp999 |
| seal pip::Seal Security Database | seal-pillow | 10.0.1+sp999, 7.2.0+sp999, 9.3.0+sp999, 9.5.0+sp999 |
| wolfi | mlflow | 3.16.0-r0 |
| wolfi | open-webui | 0.11.0-r0 |
| wolfi | superset-6.0 | 6.0.0-r13 |
| wolfi | superset-6.1 | 6.1.0-r6 |
References
- https://access.redhat.com/errata/RHSA-2026:48021
- https://access.redhat.com/security/cve/CVE-2026-54058
- https://advisory.echohq.com/cve/CVE-2026-54058
- https://bugzilla.redhat.com/2500043
- https://bugzilla.redhat.com/2500057
- https://bugzilla.redhat.com/show_bug.cgi?id=2500043
- https://bugzilla.redhat.com/show_bug.cgi?id=2500057
- https://creativecommons.org/licenses/by/4.0/
All 22 references
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-54058
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59197
- https://errata.almalinux.org/8/ALSA-2026-48021.html
- https://errata.rockylinux.org/RLSA-2026:48021
- https://github.com/advisories/GHSA-62p4-gmf7-7g93
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d
- https://github.com/python-pillow/Pillow/pull/9719
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93
- https://linux.oracle.com/cve/CVE-2026-54058.html
- https://linux.oracle.com/errata/ELSA-2026-48021.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-54058
- https://www.cve.org/CVERecord?id=CVE-2026-54058