CVE-2023-35945: Envoy vulnerable to HTTP/2 memory leak in nghttp2 codec

CVE-2023-35945 affects 77 listed versions of Envoy Proxy Envoy in the Dawnsentry catalogue.

7.5CVSS high
Proof of concept publicexploitation
2%EPSS (next 30 days)
13 July 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Envoy Proxy Envoy

77 of 250 listed versions are affected. Fixed in 1.26.3, 1.25.8, 1.24.9, 1.23.11. The newest release, 1.40.2, is not affected.

1.26.2 1.26.1 1.26.0 1.25.7 1.25.6 1.25.5 1.25.4 1.25.3 1.25.2 1.25.1 1.25.0 1.24.8 1.24.7 1.24.6 1.24.5 1.24.4 1.24.3 1.24.2 1.24.1 1.24.0 1.23.10 1.23.9 1.23.8 1.23.7 1.23.6 1.23.5 1.23.4 1.23.3 1.23.2 1.23.1 1.23.0 1.22.11 1.22.10 1.22.9 1.22.8 1.22.7 1.22.6 1.22.5 1.22.4 1.22.3 1.22.2 1.22.1 1.22.0 1.21.6 1.21.5 1.21.4 1.21.3 1.21.2 1.21.1 1.21.0 1.20.7 1.20.6 1.20.5 1.20.4 1.20.3 1.20.2 1.20.1 1.20.0 1.19.5 1.19.4 and 17 more

What it is

Envoy is a cloud-native high-performance edge/middle/service proxy. Envoy’s HTTP/2 codec may leak a header map and bookkeeping structures upon receiving `RST_STREAM` immediately followed by the `GOAWAY` frames from an upstream server. In nghttp2, cleanup of pending requests due to receipt of the `GOAWAY` frame skips de-allocation of the bookkeeping structure and pending compressed header. The error return [code path] is taken if connection is already marked for not sending more requests due to `GOAWAY` frame. The clean-up code is right after the return statement, causing memory leak. Denial of service through memory exhaustion. This vulnerability was patched in versions(s) 1.26.3, 1.25.8, 1.24.9, 1.23.11.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD)

Published by GitHub on 13 July 2023. Last changed 15 October 2026.

Sources

Check one version you run: look CVE-2023-35945 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.