CVE-2026-54058CWE-125

CVE-2026-54058

Critical · published July 14, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
43.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00521 · 43.4th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-07-14T21:17Z
Affected products (1)
ProductVersionsFixed in
python/pillow< 12.3.012.3.0
References (5)
EPSS history
Timeline
  • 14 JUL 16:27Z
    Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
    cvelistv5