← CVE Radar
CVE-2026-54058Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
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.
8.3 HIGHEPSS 0.52%Not in KEVNVD: Analyzed
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 8.3 | HIGH | 4.0GitHub_M (CNA) | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N |
| 9.1 | CRITICAL | 3.1NVD | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Details
- CVE ID
- CVE-2026-54058
- Status
- Analyzed
- Assigner (CNA)
- GitHub_M
- Published
- Jul 14, 2026
- Last modified
- 2026-10-24 21:10 UTC
- Weaknesses
- CWE-125 · Out-of-bounds Read
Affected Products
As published by the CNA in the CVE record.
python-pillowPillow1 version range
- < 12.3.0
References
- github.com https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d
- github.com https://github.com/python-pillow/Pillow/pull/9719
- github.com https://github.com/python-pillow/Pillow/releases/tag/12.3.0
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93