Skip to main content

Envoy Proxy CVE-2025-62504

HIGH
Use After Free (CWE-416)
2025-10-16 security-advisories@github.com
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Envoy with Lua response-rewrite filter
  2. Delivery
    Elicit response body rewritten past buffer limit
  3. Exploit
    Local reply overrides response headers
  4. Execution
    Use-after-free on dangling references
  5. Impact
    Proxy 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
High
Envoy is a core proxy in cloud-native and service-mesh deployments enterprise-wide
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*

More in Envoy

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2023-27488 CRITICAL POC
9.8 Apr 04

Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.8

CVE-2019-18802 CRITICAL POC
9.8 Dec 13

An issue was discovered in Envoy 1.12.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2019-18801 CRITICAL POC
9.8 Dec 13

An issue was discovered in Envoy 1.12.0. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2023-27493 CRITICAL POC
9.1 Apr 04

Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1

CVE-2023-27491 CRITICAL POC
9.1 Apr 04

Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1

CVE-2023-27487 CRITICAL POC
9.1 Apr 04

Envoy is an open source edge and service proxy designed for cloud-native applications. Rated critical severity (CVSS 9.1

CVE-2020-25017 HIGH POC
8.3 Oct 01

Envoy through 1.15.0 only considers the first value when multiple header values are present for some HTTP headers. Rated

CVE-2019-9900 HIGH POC
8.3 Apr 25

When parsing HTTP/1.x header values, Envoy 1.9.0 and before does not reject embedded zero characters (NUL, ASCII 0x0). R

CVE-2026-26308 HIGH POC
7.5 Mar 10

Envoy's RBAC filter improperly concatenates duplicate HTTP headers into comma-separated strings instead of validating ea

CVE-2024-53270 HIGH POC
7.5 Dec 18

Envoy is a cloud-native high-performance edge/middle/service proxy. Rated high severity (CVSS 7.5), this vulnerability i

CVE-2024-53269 HIGH POC
7.5 Dec 18

Envoy is a cloud-native high-performance edge/middle/service proxy. Rated high severity (CVSS 7.5), this vulnerability i

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy