CVE-2025-62504 in Envoyproxy Envoy
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_byt...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Envoyproxy | Envoy | < 1.33.12 ≥ 1.34.0, < 1.34.10 ≥ 1.35.0, < 1.35.6 ≥ 1.36.0, < 1.36.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-62504 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-034739-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-10-16 |
| Last modified | 2026-10-09 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
Envoy versions prior to 1.36.2, 1.35.6, 1.34.10, and 1.33.12 are vulnerable to a use-after-free vulnerability in the Lua filter, which can be exploited by a malicious Lua script to cause a denial of service or potentially execute arbitrary code.
The vulnerability arises when a Lua script in the response phase modifies the response body size to exceed the per_connection_buffer_limit_bytes, leading to a local reply that overrides the original response. This can result in a use-after-free condition, which may be exploited to execute arbitrary code or cause a denial of service.
Questions
What is CVE-2025-62504?
Envoy versions prior to 1.36.2, 1.35.6, 1.34.10, and 1.33.12 are vulnerable to a use-after-free vulnerability in the Lua filter, which can be exploited by a malicious Lua script to cause a denial of service or potentially execute arbitrary code.
What is the CVSS score for CVE-2025-62504?
CVE-2025-62504 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.6%.
Is CVE-2025-62504 actively exploited?
No confirmed active exploitation of CVE-2025-62504 as of 2026-10-11.
How do I remediate CVE-2025-62504?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-62504?
CVE-2025-62504 affects Envoyproxy Envoy.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Envoyproxy","product":"Envoy","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-09.