Envoy Proxy
CVE-2025-62504
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Envoy with Lua response-rewrite filter
-
DeliveryElicit response body rewritten past buffer limit
-
ExploitLocal reply overrides response headers
-
ExecutionUse-after-free on dangling references
-
ImpactProxy crash denies service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that Envoy be configured with a Lua HTTP filter whose script rewrites the response body during the response phase, AND that the rewritten body exceed the configured per_connection_buffer_limit_bytes (default 1MB). This is a non-default configuration - stock Envoy deployments without a response-rewriting Lua filter are not affected. The crash path is triggered when the oversized rewritten body forces Envoy to emit a local reply that overrides the original response headers, producing dangling references. Limiting/mitigating factors: raising per_connection_buffer_limit_bytes (and for HTTP/2 the initial_stream_window_size), or raising per_request_buffer_limit_bytes / request_body_buffer_limit, reduces the likelihood of hitting the threshold but does NOT fix the underlying memory-safety flaw; only upgrading to a patched version does. No authentication is required per the CVSS vector (PR:N), and no user interaction is needed (UI:N). |
| Impact | This is a genuine but conditional denial-of-service issue, not a high-priority mass-exploitation threat. The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, score 7.5) treats this as a network-reachable, low-complexity, unauthenticated crash, but that rating understates the preconditions: the description makes clear exploitation only occurs when a Lua filter is configured AND a Lua script rewrites a response body beyond per_connection_buffer_limit_bytes (default 1MB). That is a non-default deployment configuration, so AC:L is arguably optimistic - real complexity is higher. All non-availability impacts are correctly N (pure DoS via use-after-free, CWE-416). Corroborating signals point to low real-world urgency: EPSS is only 0.42% (34th percentile), the CVE is NOT on CISA KEV, and no public exploit was provided in the input. There is no conflict between the signals - they consistently indicate a legitimate memory-safety bug with limited exploitation likelihood because it depends on a specific Lua response-rewriting configuration. Priority should be driven by whether an organization actually runs the Lua filter in that mode, not by the headline 7.5 score. |
| Exploit ScenarioDerived | In an Envoy deployment that uses a Lua filter to rewrite response bodies, an attacker (or even a legitimate client) elicits a response whose rewritten body exceeds the configured per_connection_buffer_limit_bytes (default 1MB). Envoy generates a local reply whose headers override the original response headers, leaving dangling references to freed memory and crashing the proxy, interrupting all traffic it fronts. No public proof-of-concept was identified at time of analysis, and triggering requires the specific Lua response-rewriting configuration rather than a default install. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Denial of service in Envoy Proxy's Lua HTTP filter occurs when a response-phase Lua script rewrites a response body to exceed the configured per_connection_buffer_limit_bytes (default 1MB), forcing a local reply that overrides original response headers and leaves dangling references, resulting in a use-after-free crash. Only deployments that use a Lua HTTP filter to rewrite response bodies are affected; stock Envoy configurations without such a filter are not vulnerable. No public exploit code or active exploitation has been identified at time of analysis, and EPSS is low at 0.42% (34th percentile).
RemediationAI
Upgrade to a patched version: 1.36.2, 1.35.6, 1.34.10, or 1.33.12 as per the vendor advisory (https://github.com/envoyproxy/envoy/security/advisories/GHSA-gcxr-6vrp-wff3). If immediate upgrade is not possible, raising per_connection_buffer_limit_bytes (and for HTTP/2 the initial_stream_window_size) or raising per_request_buffer_limit_bytes / request_body_buffer_limit can reduce the likelihood of triggering the condition, but these are workarounds only and do not fix the underlying use-after-free; they also increase memory usage and may have other side effects. Disabling the Lua filter or avoiding response-body rewrites in Lua scripts will prevent the vulnerable code path but may impact functionality.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a use-after-free (CWE-416) in the Lua filter of Envoy Proxy, an open-source edge and service proxy. The flaw is triggered during the response phase: when a Lua script rewrites a response body so that its size exceeds the configured per_connection_buffer_limit_bytes (default 1MB), Envoy generates a local reply whose headers override the original response headers. This leads to dangling references and a crash. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H per independent assessment) indicates a network-accessible, unauthenticated denial-of-service with high availability impact, though exploitation requires the non-default configuration of a response-body-rewriting Lua filter. Increasing buffer limits reduces the likelihood of triggering the condition but does not correct the underlying memory-safety flaw.
Know when Envoy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because exploitation depends on a non-default Lua response-rewrite filter and an oversized rewritten body; impact is DoS only (A:H, C/I:N).
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Envoy is an open source edge and service proxy. Envoy versions earlier than 1.36.2, 1.35.6, 1.34.10, and 1.33.12 contain a use-after-free vulnerability in the Lua filter. When a Lua script executing in the response phase rewrites a response body so that its size exceeds the configured per_connection_buffer_limit_bytes (default 1MB), Envoy generates a local reply whose headers override the original response headers, leaving dangling references and causing a crash. This results in denial of service. Updating to versions 1.36.2, 1.35.6, 1.34.10, or 1.33.12 fixes the issue. Increasing per_connection_buffer_limit_bytes (and for HTTP/2 the initial_stream_window_size) or increasing per_request_buffer_limit_bytes / request_body_buffer_limit can reduce the likelihood of triggering the condition but does not correct the underlying memory safety flaw.
Executive ViewAI
Envoy Proxy, a widely deployed edge and service-mesh component, can be crashed by a crafted response flow when its Lua HTTP filter rewrites response bodies beyond the configured connection buffer limit, producing a use-after-free condition that terminates the proxy process. Only environments that actively use the Lua HTTP filter for response-body rewriting are exposed; standard Envoy deployments without that filter are unaffected, and no public exploit code or active exploitation has been identified at time of analysis. Leadership should care because a successful trigger means availability loss for every service routed through the affected proxy instance, though the narrow configuration dependency and very low EPSS (0.4%) currently limit the practical risk.
No vendor-released patch identified at time of analysis. Interim mitigations: disable the Lua HTTP filter's response-phase body-rewriting scripts on exposed listeners; cap Lua-rewritten response body size so it cannot exceed per_connection_buffer_limit_bytes; raise per_connection_buffer_limit_bytes where memory headroom allows, so the local-reply path is not triggered; restrict network exposure of affected listeners; and monitor for abrupt Envoy process restarts or crash dumps indicating triggered use-after-free conditions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)NVD
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.8
An issue was discovered in Envoy 1.12.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
An issue was discovered in Envoy 1.12.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1
Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1
Envoy through 1.15.0 only considers the first value when multiple header values are present for some HTTP headers. Rated
When parsing HTTP/1.x header values, Envoy 1.9.0 and before does not reject embedded zero characters (NUL, ASCII 0x0). R
Envoy's RBAC filter improperly concatenates duplicate HTTP headers into comma-separated strings instead of validating ea
Envoy is a cloud-native high-performance edge/middle/service proxy. Rated high severity (CVSS 7.5), this vulnerability i
Envoy is a cloud-native high-performance edge/middle/service proxy. Rated high severity (CVSS 7.5), this vulnerability i
NVD
CVE.org
EPSS
GitHub
Exploit-DB