Servers and applications
CVE-2026-48706
Envoy Heap Buffer Overflow in TcpStatsdSink
- Severity
- High 7.5
- Published
- 23 Jun 2026
- Last changed
- 25 Oct 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.35.13, 1.36.9, 1.37.5, 1.38.3
- Exploit chance
- 0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Buffer overflow (CWE-120)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-7q3f-gwg7-j8g4
- Sources
- NVD, Project advisories (GitHub)
Description
Vulnerability Type: Heap Out-of-Bounds Write / Memory Corruption
Severity: High
Description: A vulnerability exists in Envoy's TCP StatsD sink (TcpStatsdSink), where the thread-local flusher buffer can be overflowed by exceptionally long statistic names (e.g., >16KiB).
During formatting, TcpStatsdSink reserves a single contiguous memory slice of 16KiB (FLUSH_SLICE_SIZE_BYTES). If formatting a single metric exceeds the remaining capacity, the flusher initiates a buffer rotation but incorrectly continues to allocate another fixed 16KiB slice.
If an attacker can trigger a statistic name longer than 16KiB—for example, by sending an HTTP or gRPC request with an extremely long request path (:path) that is recorded by the grpc_stats filter configured with stats_for_all_methods: true—the flusher will attempt to copy the metric name using memcpy operations beyond the allocated heap buffer boundaries.
Workarounds
Users can mitigate this vulnerability through any of the following operations:
Switch to UDP StatsD: Configure envoy.stat_sinks.statsd to use UDP instead of TCP. The UDP statsd flusher path utilizes safe, dynamic buffer appending and is not vulnerable to this heap buffer overflow.
Disable Method Cardinality Stats: Disable stats_for_all_methods on grpc_stats and avoid dynamic path-based or client-controlled metrics generation in your configuration.
Affected software
| Software | Affected versions |
|---|---|
EnvoyServers and applications · cpe:a:envoyproxy:envoy |
|
EnvoyServers and applications · github:envoyproxy/envoy |
|
About Envoy
service proxy
- Docker Hub pulls
- 5,809,928,938Docker Hub, 15 Nov 2026
- GitHub stars
- 29,237GitHub, 15 Nov 2026
- Forks
- 5,728GitHub, 15 Nov 2026
- Latest release
- v1.40.2GitHub, 15 Nov 2026
- Released
- 27 Oct 2026GitHub
- Developer
- Alyssa WilkWikidata
- License
- Apache Software License 2.0Wikidata
- Written in
- C++Wikidata
- First released
- 8 Aug 2016Wikidata
- First published on GitHub
- 8 Aug 2016GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 1.40 | 1.40.2 | Until 13 Oct 2027 |
| 1.39 | 1.39.6 | Until 14 Jul 2027 |
| 1.38 | 1.38.9 | Until 23 Apr 2027 |
| 1.37 | 1.37.11 | Until 13 Jan 2027 |
| 1.36 | 1.36.13 | Ended 14 Oct 2026 |
| 1.35 | 1.35.13 | Ended 23 Jul 2026 |
From endoflife.date.
Vulnerabilities in Envoy
- In our list
- 132
- Published in the last 12 months
- 42
- Critical, last 12 months
- 2
- High, last 12 months
- 23
- Known exploited
- 2
- GHSA-3wvj-j6qm-62mrOut-of-Bounds Write in Brotli DecompressorCritical 9.2 23 Oct 2026
- CVE-2026-111497Bundled brotli decoder has an out-of-bounds write (CVE-2026-111497)Critical 9.2 21 Oct 2026 · Exploited
- GHSA-8vc2-jrm4-835wUnauthenticated remote crash (null pointer dereference) in the OAuth2 HTTP filter via a path-less CONNECT requestHigh 7.5 6 Oct 2026
- GHSA-47vj-9r25-wv5jCrash in api_key_auth HTTP filter when hiding credentials on requests without a :path header (CONNECT)Medium 6.5 6 Oct 2026
- CVE-2026-73513oghttp2 upstream trailers incorrect handlingHigh 7.5 26 Aug 2026
- CVE-2026-73552HTTP RBAC safe_regex can fail open on RFC-valid obs-text header valuesHigh 7.5 26 Aug 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-48706
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-48706
- GitHub Advisory Database https://github.com/advisories/GHSA-7q3f-gwg7-j8g4
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-7q3f-gwg7-j8g4