Buffer overflow in Envoyproxy Envoy
CVE-2026-48706
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 (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. 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (47.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 47.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Envoyproxy Envoy — versions >= 1.38.0, < 1.38.3, >= 1.37.0, < 1.37.5, >= 1.36.0, < 1.36.9
Weakness classification (CWE)
References
- github.com/envoyproxy/envoy/security/advisories/GHSA-7q3f-gwg7-j8g4 (Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-48706?
- CVE-2026-48706 is a medium-severity vulnerability in Envoyproxy Envoy, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 5.9/10. Published 2026-06-26.
- How severe is CVE-2026-48706?
- Medium severity. CVSS v3 base score is 5.9 out of 10.