CVE-2026-42154

Aliases:GHSA-8rm2-7qqf-34qmBIT-prometheus-2026-42154GO-2026-5264
Analyzed
Published: 04 May 2026, 18:13
Last modified:22 Jul 2026, 12:08

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.76% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

04 May 2026, 18:13
Published
Vulnerability first disclosed
22 Jul 2026, 12:08
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.76% Percentile: 51%

Techniques & Countermeasures

  • CWE-400Uncontrolled Resource Consumption

    The product does not properly control the allocation and maintenance of a limited resource.

  • CWE-789Memory Allocation with Excessive Size Value

    The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

  • CWE-770Allocation of Resources Without Limits or Throttling

    The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Affected Systems

  • github.com/prometheusprometheus

    < 0.311.3 | ≥ 0.306.0, < 0.311.3 | < 0.305.2 | ≥ 1.0.0-rc.0, ≤ 2.5.0 | ≥ 1.0.0-rc.0, < 0.311.3

  • github.com/prometheus/prometheusv2

    all

  • prometheusprometheus

    < 3.5.3 | ≥ 3.6.0, < 3.11.3

References (34)