{"id":"CVE-2025-62504","published":"2025-10-16T21:23:41Z","modified":"2025-10-17T13:42:31Z","title":"Envoy Lua filter use-after-free when oversized rewritten response body causes crash","vendor":"envoyproxy","product":"envoy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00576,"percentile":0.41399,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-gcxr-6vrp-wff3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.28},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"envoyproxy","affectedVersions":[{"vendor":"envoyproxy","product":"envoy","versions":[">= 1.36.0, <= 1.36.1",">= 1.350, <= 1.35.5",">= 1.34.0, <= 1.34.9","<= 1.33.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-17T13:42:09.559050Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-34836","exploited":false,"provenance":"source"}}