Description
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.
Published: 2026-05-04
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability in Prometheus' remote read endpoint handles SNAPPY-compressed payloads without verifying the decoded length prior to allocating memory. An attacker can exploit this by sending a small, carefully crafted payload that forces the server to allocate an enormous amount of heap space. The resulting memory exhaustion can cause the Prometheus process to crash, leading to denial of service. The weakness is a classic case of resource exhaustion and improper input validation (CWE-400, CWE-770, CWE-789).

Affected Systems

The issue affects all instances of Prometheus running versions older than 3.5.3 and 3.11.3. The vendor recommends updating to either 3.5.3 or 3.11.3 where the check has been added and the allocation guard is in place.

Risk and Exploitability

The CVSS score is 7.5, indicating a high severity for availability impact. The EPSS score is 0.0002, indicating a very low projected probability of exploitation (<1%). The vulnerability requires only unauthenticated network access to the /api/v1/read endpoint, which is commonly exposed. The attack can be launched remotely by an adversary capable of sending HTTP requests, and under concurrent load it can exhaust system memory quickly. As the vulnerability is not listed in CISA's KEV catalog, there is currently no widespread evidence of exploitation, but the potential for disruption remains high.

Generated by OpenCVE AI on May 26, 2026 at 13:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Prometheus to version 3.5.3 or 3.11.3, which includes the input length validation in the remote read endpoint.
  • If upgrade is not immediately feasible, restrict access to the /api/v1/read endpoint by firewall rules or API gateway so that only trusted internal hosts can reach it.
  • Enable monitoring for memory usage spikes and set alerts for unexpected heap growth to detect potential exploitation attempts early.

Generated by OpenCVE AI on May 26, 2026 at 13:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8rm2-7qqf-34qm Prometheus: Remote read endpoint allows denial of service via crafted snappy payload
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:25039 cve-icon
https://access.redhat.com/errata/RHSA-2026:25245 cve-icon
https://access.redhat.com/errata/RHSA-2026:29770 cve-icon
https://access.redhat.com/errata/RHSA-2026:30651 cve-icon
https://access.redhat.com/errata/RHSA-2026:34357 cve-icon
https://access.redhat.com/errata/RHSA-2026:34359 cve-icon
https://access.redhat.com/errata/RHSA-2026:34364 cve-icon
https://access.redhat.com/errata/RHSA-2026:34794 cve-icon
https://access.redhat.com/errata/RHSA-2026:36651 cve-icon
https://access.redhat.com/errata/RHSA-2026:36796 cve-icon
https://access.redhat.com/errata/RHSA-2026:40118 cve-icon
https://access.redhat.com/errata/RHSA-2026:40262 cve-icon
https://access.redhat.com/errata/RHSA-2026:40792 cve-icon
https://access.redhat.com/errata/RHSA-2026:40945 cve-icon
https://access.redhat.com/errata/RHSA-2026:40970 cve-icon
https://access.redhat.com/errata/RHSA-2026:40972 cve-icon
https://access.redhat.com/errata/RHSA-2026:40974 cve-icon
https://access.redhat.com/errata/RHSA-2026:41019 cve-icon
https://access.redhat.com/errata/RHSA-2026:41030 cve-icon
https://access.redhat.com/errata/RHSA-2026:41031 cve-icon
https://access.redhat.com/errata/RHSA-2026:41066 cve-icon
https://access.redhat.com/errata/RHSA-2026:42146 cve-icon
https://access.redhat.com/errata/RHSA-2026:42796 cve-icon
https://access.redhat.com/errata/RHSA-2026:42852 cve-icon
https://access.redhat.com/errata/RHSA-2026:43052 cve-icon
https://access.redhat.com/errata/RHSA-2026:44235 cve-icon
https://access.redhat.com/errata/RHSA-2026:44263 cve-icon
https://access.redhat.com/errata/RHSA-2026:44622 cve-icon
https://access.redhat.com/errata/RHSA-2026:47149 cve-icon
https://access.redhat.com/errata/RHSA-2026:47728 cve-icon
https://access.redhat.com/errata/RHSA-2026:47952 cve-icon
https://access.redhat.com/errata/RHSA-2026:48699 cve-icon
https://access.redhat.com/errata/RHSA-2026:50758 cve-icon
https://access.redhat.com/errata/RHSA-2026:50843 cve-icon
https://access.redhat.com/errata/RHSA-2026:53412 cve-icon
https://access.redhat.com/errata/RHSA-2026:53413 cve-icon
https://access.redhat.com/errata/RHSA-2026:53415 cve-icon
https://access.redhat.com/errata/RHSA-2026:53530 cve-icon
https://access.redhat.com/errata/RHSA-2026:54288 cve-icon
https://access.redhat.com/errata/RHSA-2026:56340 cve-icon
https://access.redhat.com/errata/RHSA-2026:56789 cve-icon
https://access.redhat.com/errata/RHSA-2026:56912 cve-icon
https://access.redhat.com/errata/RHSA-2026:60386 cve-icon
https://access.redhat.com/security/cve/CVE-2026-42154 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2466505 cve-icon
https://github.com/prometheus/prometheus/pull/18584 cve-icon cve-icon cve-icon
https://github.com/prometheus/prometheus/pull/18585 cve-icon cve-icon cve-icon
https://github.com/prometheus/prometheus/releases/tag/v3.11.3 cve-icon cve-icon cve-icon
https://github.com/prometheus/prometheus/releases/tag/v3.5.3 cve-icon cve-icon cve-icon
https://github.com/prometheus/prometheus/security/advisories/GHSA-8rm2-7qqf-34qm cve-icon cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-42154 cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42154.json cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-42154 cve-icon
History

Thu, 27 Aug 2026 13:30:00 +0000


Wed, 26 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
References

Wed, 19 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
References

Thu, 13 Aug 2026 13:30:00 +0000


Wed, 12 Aug 2026 12:30:00 +0000


Tue, 26 May 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

threat_severity

Important


Mon, 11 May 2026 17:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*

Mon, 04 May 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 04 May 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Prometheus
Prometheus prometheus
Vendors & Products Prometheus
Prometheus prometheus

Mon, 04 May 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Prometheus: remote read endpoint allows denial of service via crafted snappy payload
Weaknesses CWE-400
CWE-789
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Prometheus Prometheus
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-27T12:04:38.541Z

Reserved: 2026-04-24T17:15:21.835Z

Link: CVE-2026-42154

cve-icon Vulnrichment

Updated: 2026-08-27T12:04:38.541Z

cve-icon NVD

Status : Modified

Published: 2026-05-04T19:16:04.397

Modified: 2026-08-27T13:18:00.393

Link: CVE-2026-42154

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-04T18:13:12Z

Links: CVE-2026-42154 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-26T14:00:06Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value