9.1

CVE-2026-54058: Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)

Analyzed
AliasesGHSA-62p4-gmf7-7g93BIT-pillow-2026-54058PYSEC-2026-3493
Published 14-07-2026Last modified 14-07-2026

Vulnerability summary

CVE-2026-54058 is a critical (CVSS 9.1) Out-of-bounds Read vulnerability in python-pillow pillow. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 42.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
0.48%
0%100%
Low · -0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 12 · Related 8

Timeline

  1. 14-07-2026
    PublishedVulnerability first disclosed.
  2. 14-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

Decrease -0.04 pp

From 0.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pillow

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard15 products
  • label-studio< 1.23.0-r11
  • lmcache-cuda-12.8< 0.5.3-r0
  • mlflow< 3.14.0-r2 | < 3.16.0-r0
  • open-webui< 0.10.2-r1 | All versions (No fix recorded) | < 0.11.0-r0
  • openstack-horizon-2025.2< 25.5.2_git20260617-r4
Wolfi5 products
  • mlflow< 3.14.0-r2 | < 3.16.0-r0
  • open-webui< 0.10.2-r1 | All versions (No fix recorded) | < 0.11.0-r0
  • superset-6.0< 6.0.0-r13
  • superset-6.1< 6.1.0-r6
  • superset-6.1-iamguarded-compatAll versions (No fix recorded)
Ubuntu2 products
  • pillowAll versions (No fix recorded) | < 9.0.1-1ubuntu0.6 | < 10.2.0-1ubuntu1.4 | < 12.1.1-2ubuntu1.4
  • pillow-python2All versions (No fix recorded)
Debian1 product
  • pillowAll versions (No fix recorded) | < 12.3.0-1
Opensuse1 product
  • python-graphifyy&distro=openSUSE Tumbleweed< 0.9.65-1.1
PyPI1 product
  • pillow< 12.3.0
Python1 product
Python-pillow1 product

8 vendors · 27 products

References

14 links
Show all 14 references