CVE-2026-54058
Last modified
CVE-2026-54058 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 12.3.0 |
References
- https://github.com/python-pillow/Pillow/pull/9719Issue Tracking, Patch
- https://github.com/python-pillow/Pillow/releases/tag/12.3.0Product, Release Notes
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93Exploit, Mitigation, Vendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-54058?
How severe is CVE-2026-54058?
How do I fix CVE-2026-54058?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5405RDP protocol dissector crash in Wireshark 4.6.0 to 4.6.4 and…7.8
- CVE-2026-54051Network-AI is a TypeScript/Node.js multi-agent orchestrator.…9.9
- CVE-2026-54052n8n-MCP is an MCP server that provides AI assistants access …9.9
- CVE-2026-54055Kitty is a cross-platform GPU based terminal. In versions pr…5
- CVE-2026-54056Kitty is a cross-platform GPU based terminal. In versions 0.…7.1
- CVE-2026-54057Kitty is a cross-platform GPU based terminal. In versions pr…7.8
- CVE-2026-54059Pillow is a Python imaging library. Prior to 12.3.0, PIL/Pcf…7.5
- CVE-2026-5406FC-SWILS protocol dissector crash in Wireshark 4.6.0 to 4.6.…5.5
- CVE-2026-54060Pillow is a Python imaging library. Prior to 12.3.0, PIL/Fon…7.5
- CVE-2026-54061Dgraph is an open source distributed GraphQL database. Prior…9.1
- CVE-2026-54063Excelize is a Go language library for reading and writing Mi…7.5
- CVE-2026-54066SiYuan is an open-source personal knowledge management syste…7.5
Are you affected by CVE-2026-54058?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
