CVE-2026-54058Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.5%
- percentile 33%
- Fix
- Named by a source
- CVE published 14 Jul 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.5% (+0) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 12.3.0 or later on your release line.
- Patch: https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d
- Patch: https://github.com/python-pillow/Pillow/pull/9719
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-54058
- Advisory: https://github.com/advisories/GHSA-62p4-gmf7-7g93
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 12.3.0Fixed in12.3.0OSV (PYSEC-2026-3493)
python pillow product:python/pillow
- Affected< 12.3.0Affected range ends before12.3.0as published by CPE data (via the NVD API)
python-pillow Pillow product:pythonpillow/pillow
- Affected< 12.3.0Affected range ends before12.3.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 9.1 CRITICAL (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-125
- Exploitation (CISA SSVC)
- poc
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 14 Jul 2026Published
References
- patchhttps://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d
- patchhttps://github.com/python-pillow/Pillow/pull/9719
- otherhttps://github.com/python-pillow/Pillow/releases/tag/12.3.0
- exploithttps://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-54058
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://pypi.org/project/pillow
- advisoryhttps://github.com/advisories/GHSA-62p4-gmf7-7g93
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-54058 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-62p4-gmf7-7g93 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-3493 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 13 min ago · osv 13 min ago · nvd 74 min ago · epss 13 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2026-54058, GHSA-62p4-gmf7-7g93, PYSEC-2026-3493