cve.bz

CVE-2026-42154 prometheus prometheus: Uncontrolled Resource Consumption

7.5 highEPSS 0.8%Fix available

High (7.5) in prometheus prometheus. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/prometheus/prometheus 0.305.2, 0.311.3.

On this page
Prometheus is an open-source monitoring system and time series database. Prior to versions 3.5.3 and 3.11.3, the remote read endpoint (/api/v1/read) does not validate the declared decoded length in a snappy-compressed request body before allocating memory. An unauthenticated attacker can send a small payload that causes a huge heap allocation per request. Under concurrent load this can exhaust available memory and crash the Prometheus process. This issue has been patched in versions 3.5.3 and 3.11.3.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-789 Memory Allocation with Excessive Size Value
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42154 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42154?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42154?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42154 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
prometheus:prometheusbefore 3.5.3
prometheus:prometheusfrom 3.6.0 before 3.11.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8rm2-7qqf-34qmGogithub.com/prometheus/prometheus>=0.306.0 <0.311.30.311.3
GHSA-8rm2-7qqf-34qmGogithub.com/prometheus/prometheus<0.305.20.305.2
GHSA-8rm2-7qqf-34qmGogithub.com/prometheus/prometheus>=1.0.0-rc.0 <=2.5.0no fix published
GO-2026-5264Gogithub.com/prometheus/prometheus<0.305.2
>=0.306.0 <0.311.3
>=1.0.0-rc.0
0.305.2, 0.311.3
GO-2026-5264Gogithub.com/prometheus/prometheus/v2all versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13prometheusno fix listedDEBIAN-CVE-2026-42154
Debian14prometheus3.5.3+ds1-1DEBIAN-CVE-2026-42154
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreprometheusno fix listedUBUNTU-CVE-2026-42154
Red Hathummingbird:1jaeger0:2.19.0-1.hum1RHSA-2026:25039
Red Hathummingbird:1opentelemetry-collector0:0.153.0-1.hum1RHSA-2026:25245
Red Hathummingbird:1opentelemetry-collector-contrib0:0.155.0-0.1.hum1RHSA-2026:29770
SUSEMulti Linux Manager Tools SLE-15golang-github-QubitProducts-exporter_exporter0.4.0-150002.3.6.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-boynux-squid_exporter1.13.0-150002.3.6.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-lusitaniae-apache_exporter1.0.10-150002.3.9.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-alertmanager0.28.1-150002.4.11.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.5.3-150002.3.13.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15grafana11.6.14+security04-150002.4.21.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15mgr-push5.2.4-150002.3.9.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15prometheus-blackbox_exporter0.26.0-150002.3.11.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15prometheus-postgres_exporter0.10.1-150002.3.3.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15python-defusedxml-sle150.7.1-150002.1.3.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15rhnlib5.2.5-150002.3.9.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15spacecmd5.2.8-150002.3.12.1SUSE-SU-2026:2768-1
19 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedgolang-github-prometheus-prometheus3.11.3-1.1openSUSE-SU-2026:10676-1
AlmaLinux9opentelemetry-collector0.152.1-1.el9_8ALSA-2026:34359
AlmaLinux10opentelemetry-collector0.152.1-1.el10_2ALSA-2026:34357
Rocky Linux9opentelemetry-collector0:0.152.1-1.el9_8RLSA-2026:34359
Rocky Linux10opentelemetry-collector0:0.152.1-1.el10_2RLSA-2026:34357
Alpinev3.23, v3.24prometheus3.5.3-r0ALPINE-CVE-2026-42154
Azure Linux3telegraf1.31.0-22AZL-86607

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important denial of service vulnerability in Prometheus, allowing an unauthenticated remote attacker to crash the Prometheus process. This could lead to service unavailability in Red Hat products that deploy Prometheus for monitoring, as the remote read endpoint does not properly validate snappy-compressed request lengths.

Red Hat's mitigation

To mitigate this issue, restrict network access to the Prometheus remote read endpoint (/api/v1/read). Configure firewall rules or network policies to permit connections only from trusted internal networks or authorized clients. This action reduces the attack surface by limiting exposure to unauthenticated remote attackers. A service restart or reload may be required for the changes to take effect.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10opentelemetry-collector-0:0.152.1-1.el10_2Fixed 2026-07-01RHSA-2026:34357
Red Hat Enterprise Linux 10.0 Extended Update Supportopentelemetry-collector-0:0.152.1-1.el10_0Fixed 2026-08-11RHSA-2026:53413
Red Hat Enterprise Linux 9opentelemetry-collector-0:0.152.1-1.el9_8Fixed 2026-07-01RHSA-2026:34359
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsopentelemetry-collector-0:0.152.1-1.el9_4Fixed 2026-08-11RHSA-2026:53412
Red Hat Enterprise Linux 9.6 Extended Update Supportopentelemetry-collector-0:0.152.1-1.el9_6Fixed 2026-08-11RHSA-2026:53415
RHEM 1.0 for RHEL 9flightctl-0:1.0.3-1.el9emFixed 2026-07-08RHSA-2026:36796
RHEM 1.1 for RHEL 10flightctl-0:1.1.3-1.el10emFixed 2026-07-16RHSA-2026:41019
RHEM 1.1 for RHEL 9flightctl-0:1.1.3-1.el9emFixed 2026-07-16RHSA-2026:41019
Logging Subsystem for Red Hat OpenShift 6.0openshift-logging/loki-rhel9-operator:1785418915Fixed 2026-08-05RHSA-2026:50843
Logging Subsystem for Red Hat OpenShift 6.0openshift-logging/lokistack-gateway-rhel9:1785418855Fixed 2026-08-05RHSA-2026:50843
File Integrity Operatorcompliance/openshift-compliance-must-gather-rhel8Not affected
File Integrity Operatorcompliance/openshift-compliance-openscap-rhel8Not affected
File Integrity Operatorcompliance/openshift-compliance-operator-bundleNot affected
File Integrity Operatorcompliance/openshift-compliance-rhel8-operatorNot affected
File Integrity Operatorcompliance/openshift-file-integrity-operator-bundleAffected
Network Observability Operatornetwork-observability/network-observability-ebpf-agent-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-flowlogs-pipeline-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/openshift-mcp-server-rhel9Affected
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/istio-rhel8-operatorNot affected
162 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42154.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON