CVE-2026-48042

Envoy: Stack overflow in destructor of highly nested JSON

Published Jun 26, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.35.11, 1.36.7, 1.37.3, and 1.38.1, destructor of JSON Object results in stack overflow when deeply O(100K) nested objects are present. This vulnerability is fixed in 1.35.11, 1.36.7, 1.37.3, and 1.38.1.

Analysis

AI-generated

Technical impact

The destructor of the JSON Object in Envoy can trigger a stack overflow when processing an object hierarchy that is over 100,000 levels deep. This is a stack buffer overflow according to CWE‑1124, and the known CWE list also includes CWE‑776, indicating an additional weakness related to buffer handling. The overflow corrupts control data, causing the Envoy process to terminate unexpectedly, resulting in denial of service to any service relying on that Envoy instance.

Affected Systems

Vulnerable versions are those older than envoyproxy:envoy 1.35.11, 1.36.7, 1.37.3, and 1.38.1. Any instance running those older releases that loads deeply nested configuration files can be vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity denial‑of-service flaw. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog, so the likelihood of exploitation in the wild is uncertain. This flaw exploits a stack buffer overflow (CWE‑1124) and a buffer handling weakness (CWE‑776). The likely attack vector is an attacker supplying a deeply nested JSON configuration that is processed by Envoy, causing the stack overflow during object destruction. A malformed configuration could lead to a crash and service disruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Envoy to at least version 1.35.11, or any later release that contains the fix that removes the overflow in the JSON destructor.
  • Restart the Envoy instance so the new code is loaded and no stale state remains.
  • Validate or limit the depth of JSON objects in configuration files to avoid large nesting that could trigger the stack overflow.

Generated by OpenCVE AI on August 2, 2026 at 01:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Envoyproxy
Envoyproxy envoy
Vendors & Products Envoyproxy
Envoyproxy envoy
Type Values Removed Values Added
Description Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.35.11, 1.36.7, 1.37.3, and 1.38.1, destructor of JSON Object results in stack overflow when deeply O(100K) nested objects are present. This vulnerability is fixed in 1.35.11, 1.36.7, 1.37.3, and 1.38.1.
Title Envoy: Stack overflow in destructor of highly nested JSON
Weaknesses CWE-1124
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-1124

    Excessively Deep Nesting

  • CWE-776

    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 29, 2026, 1:27 PM
Reserved
May 20, 2026, 6:15 PM
Status
Analyzed
Published
Jun 26, 2026, 6:16 PM
Modified
Oct 25, 2026, 5:10 PM
Severity
Important
Public date
Jun 26, 2026, 5:29 PM