Memory Disclosure Vulnerability in Pillow Python Imaging Library
CVE-2026-54058

8.3HIGH

Key Information:

Status
Vendor
CVE Published:
14 July 2026

What is CVE-2026-54058?

The Pillow Python imaging library has a vulnerability that occurs when loading uncompressed McIdas AREA images via the mmap raw codec path. Attackers can exploit this by manipulating header words to create a row stride shorter than the natural row width. This can lead to reading beyond the mapped region during pixel access operations such as Image.tobytes(), getpixel, convert, or save, potentially disclosing adjacent process memory. The issue has been addressed and fixed in version 12.3.0.

Affected Version(s)

Pillow < 12.3.0

References

CVSS V4

Score:
8.3
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.