All vulnerabilities

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.

From envoyproxy/envoy's security advisory. Shortened; the full text is there.

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.

Workarounds as given by envoyproxy/envoy's security advisory.

Affected software

SoftwareAffected versions
EnvoyServers and applications · cpe:a:envoyproxy:envoy
  • From 1.34.0 before 1.35.13
  • From 1.36.0 before 1.36.9
  • From 1.37.0 before 1.37.5
  • From 1.38.0 before 1.38.3
EnvoyServers and applications · github:envoyproxy/envoy
  • From 1.34 before 1.35.13

About Envoy

service proxy

From Wikidata, CC0 1.0.
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

Release lines

ReleaseLatestSecurity fixes
1.401.40.2Until 13 Oct 2027
1.391.39.6Until 14 Jul 2027
1.381.38.9Until 23 Apr 2027
1.371.37.11Until 13 Jan 2027
1.361.36.13Ended 14 Oct 2026
1.351.35.13Ended 23 Jul 2026

From endoflife.date.

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