CVE-2026-54058
Reported by github_m · Published July 14, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-pillow-tk | Amazon Linux | 9.4.0-2.amzn2023.0.10 |
| open-webui | Chainguard | 0.11.0-r0 |
| python-pillow-debugsource | errata.rockylinux.org | 5.1.1-23.el8 |
| python3-pillow-tk-debuginfo | errata.rockylinux.org | 5.1.1-23.el8 |
| python3-pillow-debuginfo | errata.rockylinux.org | 5.1.1-23.el8 |
| python3-pillow | errata.rockylinux.org | 5.1.1-23.el8 |
| python3-pillow-devel | Amazon Linux | 9.4.0-2.amzn2023.0.10 |
| mlflow | Chainguard | 3.16.0-r0, 3.14.0-r2 |
| pillow | Bitnami | 12.3.0 |
| superset-6.1 | Wolfi | 6.1.0-r6 |
| openstack-horizon-2025.2 | Chainguard | 25.5.2_git20260617-r4 |
| tensorflow-gpu-jupyter | Chainguard | 2.21.0-r7 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | < 12.3.0 |
| amazon:2023 | python3-pillow-tk | 0 |
| chainguard | open-webui | 0 |
| amazon:2023 | python3-pillow-devel | 0 |
| chainguard | mlflow | 0, 0 |
| wolfi | superset-6.1 | 0 |
| chainguard | openstack-horizon-2025.2 | 0 |
| chainguard | tensorflow-gpu-jupyter | 0 |
| chainguard | tritonserver-backend-vllm-cuda-13.0 | 0 |
| chainguard | label-studio | 0 |
| amazon:2 | python-pillow-sane | 0 |
| python-pillow | Pillow | 0 |
| chainguard | superset-6.0 | 0 |
| amazon:2 | python-pillow-doc | 0 |
| wolfi | mlflow | 0, 0 |
| chainguard | superset-6.1 | 0 |
| wolfi | superset-6.0 | 0 |
| chainguard | superset-fips-6.1 | 0 |
| wolfi | open-webui | 0 |
| chainguard | openstack-horizon-2026.1-fips | 0 |
…and 9 more
Timeline
- Jul 14, 2026 CVE Published
- Jul 15, 2026 Coalition ESS Score
- Jul 31, 2026 Distribution Patch (13 in total, the first dated here)
- Jul 31, 2026 Security Advisory (13 in total, the first dated here)
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
- Aug 10, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-54058
vulnetix vdb fixes CVE-2026-54058
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-54058/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93 x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/9719 x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-54058 advisory
- https://github.com/advisories/GHSA-62p4-gmf7-7g93 advisory