Uncontrolled Memory Allocation in prometheus - CVE-2026-42154

 

Uncontrolled Memory Allocation in prometheus - CVE-2026-42154

Published: April 28, 2026


Vulnerability identifier: #VU128368
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-42154
CWE-ID: CWE-789
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
prometheus
Software vendor:
Prometheus

Description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to memory allocation with excessive size value in the remote read endpoint (/api/v1/read) when processing snappy-compressed request bodies. A remote attacker can send a specially crafted request body to cause a denial of service.

Concurrent exploitation can exhaust available memory and crash the Prometheus process.


Remediation

Install security update from vendor's website.

External links