{"id":"GHSA-8rm2-7qqf-34qm","revision":"514f8a6df44742be8abe02a68ef9e943","records":[{"revision":"514f8a6df44742be8abe02a68ef9e943","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8rm2-7qqf-34qm","aliases":["BIT-prometheus-2026-42154","CVE-2026-42154","GO-2026-5264"],"title":"Prometheus: Remote read endpoint allows denial of service via crafted snappy payload","description":"### Impact\n\nThe remote read endpoint (`/api/v1/read`) does not validate the declared decoded length in a snappy-compressed request body before allocating memory.\nAn 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.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nFixed in 3.11.3 and 3.5.3 LTS. Users should upgrade to these versions or later.\n\n### Workarounds\nUser who can not upgrade can place Prometheus behind a reverse proxy or firewall that requires authentication before requests reach /api/v1/read.","state":0,"publishedAt":"2026-05-05T19:34:05+00:00","modifiedAt":"2026-09-10T03:50:46.3004206+00:00","affected":[{"ecosystem":"Go","name":"github.com/prometheus/prometheus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.306.0"},{"kind":"fixed","version":"0.311.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/prometheus/prometheus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.305.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/prometheus/prometheus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0-rc.0"},{"kind":"last_affected","version":"2.5.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/prometheus/prometheus/security/advisories/GHSA-8rm2-7qqf-34qm","https://nvd.nist.gov/vuln/detail/CVE-2026-42154","https://github.com/prometheus/prometheus/pull/18584","https://github.com/prometheus/prometheus/pull/18585","https://github.com/prometheus/prometheus","https://github.com/prometheus/prometheus/releases/tag/v3.11.3","https://github.com/prometheus/prometheus/releases/tag/v3.5.3"],"sourceUrl":"https://github.com/advisories/GHSA-8rm2-7qqf-34qm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8rm2-7qqf-34qm","identifiers":["GHSA-8rm2-7qqf-34qm","BIT-prometheus-2026-42154","CVE-2026-42154","GO-2026-5264"]},"retained":false,"historicalAffected":[]}],"coverage":[]}