CVE-2026-48706: Envoy Heap Buffer Overflow in TcpStatsdSink
Envoy is an open source edge and service proxy designed for cloud-native applications. From 1.34.0 until 1.35.13, 1.36.9, 1.37.5, and 1.38.3, 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 (FLUSHSLICESIZEBYTES). 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 grpcstats filter configured with statsforallmethods: true—the flusher will attempt to copy the metric name using memcpy operations beyond the allocated heap buffer boundaries. This leads to a heap write overflow, which can cause immediate denial-of-service (process crash) or potential remote code execution (RCE). This vulnerability is fixed in 1.35.13, 1.36.9, 1.37.5, and 1.38.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Envoy (TcpStatsdSink)to a version that resolves this vulnerability.Fixed in 1.35.13 - Upgrade
Upgrade
Envoy (TcpStatsdSink)to a version that resolves this vulnerability.Fixed in 1.36.9 - Upgrade
Upgrade
Envoy (TcpStatsdSink)to a version that resolves this vulnerability.Fixed in 1.37.5 - Upgrade
Upgrade
Envoy (TcpStatsdSink)to a version that resolves this vulnerability.Fixed in 1.38.3
Event History
Frequently Asked Questions
What is the severity of CVE-2026-48706?
The severity of CVE-2026-48706 is medium, rated at 5.9.
How do I fix CVE-2026-48706?
To fix CVE-2026-48706, upgrade Envoy to versions 1.35.14, 1.36.10, 1.37.6, or 1.38.4 or later.
What type of vulnerability is CVE-2026-48706?
CVE-2026-48706 is a heap buffer overflow vulnerability found in Envoy's TcpStatsdSink.
What are the affected versions for CVE-2026-48706?
Affected versions for CVE-2026-48706 include Envoy from 1.34.0 to 1.35.13, 1.36.9, 1.37.5, and 1.38.3.
What impact does CVE-2026-48706 have on my application?
CVE-2026-48706 can potentially lead to application crashes due to buffer overflow in Envoy's TCP StatsD sink.