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
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-42154
CWE-ID: CWE-789
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

prometheus
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Client Tools for SLE Micro
SUSE Linux Enterprise Micro
SUSE Package Hub 15
Basesystem Module
openSUSE Leap
golang-github-prometheus-node_exporter
golang-github-prometheus-node_exporter-debuginfo
golang-github-prometheus-prometheus-debuginfo
golang-github-prometheus-prometheus
release-notes-susemanager-proxy
release-notes-susemanager
Red Hat OpenShift Container Platform

How to mitigate CVE-2026-42154

Install security update from vendor's website.

prometheus - addressed in versions 3.5.3, 3.11.3
golang-github-prometheus-node_exporter - update to 1.10.2-150100.3.42.1
golang-github-prometheus-node_exporter-debuginfo - update to 1.10.2-150100.3.42.1
golang-github-prometheus-prometheus-debuginfo - update to 3.5.3-150100.4.34.1
golang-github-prometheus-prometheus - update to 3.5.3-150100.4.34.1
release-notes-susemanager-proxy - update to 4.3.18-150400.3.110.2
release-notes-susemanager - update to 4.3.18-150400.3.154.2
Red Hat OpenShift Container Platform - addressed in versions 4.19.40, 4.21.25

External References

Related Security Bulletins