Resource exhaustion in Prometheus
CVE-2026-42154
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.008, 57.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Prometheus — versions < 3.5.3, >= 3.6.0, < 3.11.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- ShadowByte1/CVE-2026-42154 (last pushed 2026-05-15): # CVE-2026-42154 — Prometheus Remote Read Snappy DoS
References
- github.com/prometheus/prometheus/security/advisories/GHSA-8rm2-7qqf-34qm (Vendor Advisory)
- github.com/prometheus/prometheus/pull/18584 (Patch, Issue Tracking)
- github.com/prometheus/prometheus/pull/18585 (Patch, Issue Tracking)
- github.com/prometheus/prometheus/releases/tag/v3.11.3 (Release Notes)
- github.com/prometheus/prometheus/releases/tag/v3.5.3 (Release Notes)
- access.redhat.com/errata/RHSA-2026:25039
- access.redhat.com/errata/RHSA-2026:25245
- access.redhat.com/errata/RHSA-2026:29770
- access.redhat.com/errata/RHSA-2026:30651
- access.redhat.com/security/cve/CVE-2026-42154
This CVE has public exploit evidence. See the latest CVEs with public exploits.