Vulnerability · CVE-2026-54058
Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
Published Jul 14, 2026 · catalog updated Jul 14, 2026 · Pillow
Last checked Nov 6, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-54058. EPSS is 0.52%. Act only if a listed version of Pillow is installed.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-59199 · High
- CVE-2026-55379 · High
- CVE-2026-54060 · High
- CVE-2026-54059 · High
- CVE-2026-25990 · High
- Severity
- High8.3
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.52%
- Remediation
- Advisory link
- Affected products
- vendor python-pillow Pillow
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor python-pillow Pillowversion unspecified
How to fix CVE-2026-54058
No stored fix
No vendor fix text is stored. Use the linked advisory before you change production.
Version check
No version range is stored, so an installed version cannot be checked on this page.
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-54058. EPSS is 0.52%. Act only if a listed version of Pillow is installed.
Which versions are affected?
Affected version ranges are not on this record. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-125: Out-of-bounds Read. EPSS 0.52%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Jul 14, 2026 · CVE.org
Updated
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. Thi
Nov 4, 2026 · Ubuntu Security Notices
Detected
CVE-2026-54058 is listed by USN-8999-1: Pillow vulnerabilities.
Sources
- CVE.orgVulnerability recordCVE-2026-54058
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.t
cve.org - Ubuntu Security NoticesVendor advisoryCVE-2026-54058
It was discovered that Pillow incorrectly handled map stride values when loading certain McIdas AREA images. An attacker could possibly use this issue to obtain sensitive information or cause a denial of service. (CVE-2026-54058) It was discovered that Pillow did not properly che
ubuntu.com
References
- https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90 · 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 · github.com
Freshness
Last verified in this catalog Nov 4, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- Ubuntu Security NoticesNov 6, 2026
- CVE.orgNov 4, 2026