{"id":"CVE-2026-42154","summary":"Prometheus: remote read endpoint allows denial of service via crafted snappy payload","details":"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.","aliases":["BIT-prometheus-2026-42154","GHSA-8rm2-7qqf-34qm","GO-2026-5264"],"modified":"2026-07-14T16:41:01.254644922Z","published":"2026-05-04T18:13:12.340Z","related":["ALSA-2026:34357","ALSA-2026:34359","CGA-j6q3-2q44-hhxx","SUSE-SU-2026:2243-1","SUSE-SU-2026:2768-1","SUSE-SU-2026:2774-1","openSUSE-SU-2026:10676-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42154.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-400","CWE-789"]},"references":[{"type":"WEB","url":"https://github.com/prometheus/prometheus/releases/tag/v3.11.3"},{"type":"WEB","url":"https://github.com/prometheus/prometheus/releases/tag/v3.5.3"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42154.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25039"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25245"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29770"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30651"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34357"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34359"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34364"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36651"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36796"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-42154"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42154.json"},{"type":"ADVISORY","url":"https://github.com/prometheus/prometheus/security/advisories/GHSA-8rm2-7qqf-34qm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42154"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2466505"},{"type":"FIX","url":"https://github.com/prometheus/prometheus/pull/18584"},{"type":"FIX","url":"https://github.com/prometheus/prometheus/pull/18585"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/prometheus/prometheus","events":[{"introduced":"0"},{"fixed":"dcd3d551ced8b8dc14e0217f8cb14e547109cd5f"},{"introduced":"491734606591ef8c188f5489c70380805bc868c0"},{"fixed":"eb173f5256d4022afba1e9bc3d19740a76859fae"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.5.3"},{"introduced":"3.6.0"},{"fixed":"3.11.3"}]}}],"versions":["v3.11.2","v0.311.2","v3.5.2","v0.305.2","v3.11.1","v0.311.1","v3.11.0","v0.311.0","v3.5.1","v0.305.1","v3.5.0","v0.305.0","v3.5.0-rc.1","v3.5.0-rc.0","v3.0.0-beta.1","v0.300.0-beta.1","v2.43.0-rc.0","v0.43.0-rc.0","v2.34.0-rc.0","v2.32.0-beta.0","v2.22.0-rc.0","v2.13.0-rc.0","v2.12.0-rc.0","v2.11.0-rc.0","v2.10.0-rc.0","v2.9.0","v2.9.0-rc.0","v2.8.0","v2.8.0-rc.0","v2.7.0","v2.7.0-rc.2","v2.7.0-rc.1","v2.7.0-rc.0","v2.6.0","v2.6.0-rc.1","v2.6.0-rc.0","v2.5.0-rc.0","v2.4.0","v2.4.0-rc.0","v2.2.0","v2.2.0-rc.1","v2.2.0-rc.0","v2.1.0","discovery-handle-discoverer-updates","dev","v2.0.0-rc.3","v2.0.0-rc.2","v2.0.0-rc.1","v2.0.0-rc.0","v2.0.0-beta.5","v2.0.0-beta.4","v2.0.0-beta.2","v2.0.0-beta.1","v2.0.0-beta.0","v2.0.0-alpha.3","v2.0.0-alpha.2","v2.0.0-alpha.1","v2.0.0-alpha.0","v1.4.1","v1.4.0","v1.3.0-beta.0","v1.1.0","v1.0.0-rc.0","0.18.0","0.18.0rc1","0.16.0","0.16.0rc2","0.16.0rc1","0.15.0","0.15.0rc3","0.15.1","0.15.0rc2","0.15.0rc1","0.14.0","0.14.0rc3","0.14.0rc2","0.14.0rc1","0.13.2","0.13.1","0.13.0","0.13.0rc2","0.12.0","0.11.1","0.10.0","0.9.0","0.9.0rc5","0.9.0rc4","0.9.0rc3","0.9.0rc2","0.9.0rc1","0.8.0","0.7.0","0.6.0","0.5.0","0.4.0","0.3.0","0.2.1","0.2.0","checkout","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42154.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}