CVE-2025-62504: Envoy Lua filter use-after-free when oversized rewritten response body causes crash
Vulnerability summary
CVE-2025-62504 is a high (CVSS 7.5) Use After Free vulnerability in envoyproxy envoy. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.4% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 16-10-2025PublishedVulnerability first disclosed.
- 17-10-2025Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.42% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Envoyproxy1 product
- envoy≥ 1.36.0, ≤ 1.36.1 | ≥ 1.350, ≤ 1.35.5 | ≥ 1.34.0, ≤ 1.34.9 | ≤ 1.33.11 | < 1.33.12 | ≥ 1.34.0, < 1.34.10 | ≥ 1.35.0, < 1.35.6 | ≥ 1.36.0, < 1.36.2
1 vendor · 1 product
References
1 links- github.com/envoyproxy/envoy/security/advisories/GHSA-gcxr-6vrp-wff3X Refsource CONFIRMVendor Advisory