{"id":71853,"date":"2025-10-17T01:45:31","date_gmt":"2025-10-16T22:15:31","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-62504-envoy-lua-filter-use-after-free-when-oversized-rewritten-response-body-causes-crash\/"},"modified":"2025-10-17T01:45:31","modified_gmt":"2025-10-16T22:15:31","slug":"cve-2025-62504-envoy-lua-filter-use-after-free-when-oversized-rewritten-response-body-causes-crash","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-62504-envoy-lua-filter-use-after-free-when-oversized-rewritten-response-body-causes-crash\/","title":{"rendered":"CVE-2025-62504 &#8211; Envoy Lua filter use-after-free when oversized rewritten response body causes crash"},"content":{"rendered":"<p>CVE ID : CVE-2025-62504<\/p>\n<p>Published :  Oct. 16, 2025, 10:15 p.m. | 25\u00a0minutes ago<\/p>\n<p>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.<\/p>\n<p>Severity: 6.5 | MEDIUM<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-62504 Published : Oct. 16, 2025, 10:15 p.m. | 25\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-71853","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=71853"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71853\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=71853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=71853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=71853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}