Envoy Lua filter use-after-free when oversized rewritten response body causes crash (envoyproxy envoy)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.42 % Β· percentile 36 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-416 β Use After Free
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2025-34836
- GCVE Β· GCVE-0-2025-62504
Affected configurations (NVD CPE)
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*< 1.33.12cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*β₯ 1.34.0 < 1.34.10cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*β₯ 1.35.0 < 1.35.6cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*β₯ 1.36.0 < 1.36.2
Affected products
| Product | Versions |
|---|---|
| envoyproxy Β· envoy | affected >= 1.36.0, <= 1.36.1 ; affected >= 1.350, <= 1.35.5 ; affected >= 1.34.0, <= 1.34.9 ; affected <= 1.33.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |