{
  "id": "CVE-2026-48706",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-48706",
  "published_at": "2026-06-26T17:38:23.581Z",
  "title": "Envoy Heap Buffer Overflow in TcpStatsdSink",
  "vendor": "envoyproxy",
  "product": "envoy",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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., \u003e16KiB). 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.",
  "cwe": "CWE-120",
  "cpes": [
    "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.9,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "envoyproxy",
        "product": "envoy",
        "ranges": [
          "\u003e= 1.38.0, \u003c 1.38.3",
          "\u003e= 1.37.0, \u003c 1.37.5",
          "\u003e= 1.36.0, \u003c 1.36.9",
          "\u003e= 1.34.0, \u003c 1.35.13"
        ],
        "fixed_in": [
          "1.38.3",
          "1.37.5",
          "1.36.9",
          "1.35.13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade envoy to 1.38.3 or 1.37.5 or 1.36.9 or 1.35.13 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/envoyproxy/envoy/security/advisories/GHSA-7q3f-gwg7-j8g4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
