High severity · published Oct 16, 2025
CVE-2025-62504
Envoy Lua filter use-after-free when oversized rewritten response body causes crash
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 36% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EN
envoy · envoyproxy
>= 1.36.0, <= 1.36.1; >= 1.350, <= 1.35.5; >= 1.34.0, <= 1.34.9; <= 1.33.11 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-62504
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-62504
Vendor Advisory
https://github.com/envoyproxy/envoy/security/advisories/GHSA-gcxr-6vrp-wff3
More from envoy
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
7.5
CVE-2023-44487
HTTP/2 Rapid Reset Attack Vulnerability
10.0
CVE-2019-9901
Envoy 1.9.0 and before does not normalize HTTP URL paths
9.8
CVE-2023-35941
Envoy is an open source edge and service proxy designed for cloud-native applications
9.8
CVE-2023-27488
Envoy is an open source edge and service proxy designed for cloud-native applications
