Skip to main content
Public proof of conceptFix available

CVE-2026-54058

A public proof of concept exists; no exploitation attested.

  • Published2026-07-14
  • Fixed in12.3.0
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-07-1417:17CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-54058?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-54058?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Python pillow
BranchAffectedFixed in
12.3< 12.3.012.3.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • python3-pillowAlmaLinux:8all versions · fixed in 5.1.1-23.el8_10and 3 other packages

Vendor advisories

  • CVE-2026-54058 Red Hat Product Security215 products fixed · 23 known affected

    Pillow: Pillow: Memory disclosure or denial of service via crafted McIdas AREA image

    exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 as a component of Exploit Intelligence · lightspeed-core/lightspeed-stack-rhel9 as a component of Lightspeed Core · lightspeed-core/rag-tool-cpu-rhel9 as a component of Lightspeed Core · +20 more

  • RHSA-2026:81110 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Quay

  • RHSA-2026:76150 Red Hat Product Security7 products fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update

  • RHSA-2026:76149 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.5 security update

  • RHSA-2026:73987 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHOAI 3.3.7 - Red Hat OpenShift AI

  • RHSA-2026:70996 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference Model Optimization Tools 3.4.5 (cuda)

26 more advisories

Full record on NVD

Fix

  1. Update Python pillow to 12.3.0
  2. Vendor fix Red Hat Product Security RHSA-2026:81110 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied.
  3. Vendor fix Red Hat Product Security RHSA-2026:76150 · 7 productsThe container images provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io using the "podman pull" command. For details on deploying and configuring RHEL AI, see the Red Hat Enterprise Linux AI documentation at https://docs.redhat.com/en/documentation/…
  4. Vendor fix Red Hat Product Security RHSA-2026:76149 · 1 productThe container disk images provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io using the "podman pull" command, for use with OpenShift Virtualization. For details on deploying and configuring RHEL AI, see the Red Hat Enterprise Linux AI documentation …
  5. Vendor fix Red Hat Product Security RHSA-2026:73987 · 4 productsFor Red Hat OpenShift AI 3.3.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  6. Vendor fix Red Hat Product Security RHSA-2026:70996 · 2 productsFor more information visit https://access.redhat.com/errata/RHSA-2026:70996
  7. Vendor fix Red Hat Product Security RHSA-2026:70995 · 1 productFor more information visit https://access.redhat.com/errata/RHSA-2026:70995

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS 4.0 vector
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
Published
2026-07-14
Last Modified
2026-08-06
NVD status
Analyzed
GitHub Advisory
GHSA-62p4-gmf7-7g93

Frequently asked questions

What is CVE-2026-54058?

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.

Is CVE-2026-54058 actively exploited?

A proof-of-concept exploit exists for CVE-2026-54058, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-54058?

CVE-2026-54058 has a CVSS v3 base score of 9.1 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Running pillow? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month