{"id":"CVE-2025-62504","aliases":["CVE-2025-62504","BIT-ENVOY-2025-62504","GHSA-gcxr-6vrp-wff3"],"related":[],"kind":"vulnerability","state":"published","title":"Envoy Lua filter use-after-free when oversized rewritten response body causes crash","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Envoy es un proxy de borde y de servicio de código abierto. Las versiones de Envoy anteriores a 1.36.2, 1.35.6, 1.34.10 y 1.33.12 contienen una vulnerabilidad de uso después de liberación en el filtro Lua. Cuando un script Lua que se ejecuta en la fase de respuesta reescribe un cuerpo de respuesta de modo que su tamaño excede el per_connection_buffer_limit_bytes configurado (predeterminado 1MB), Envoy genera una respuesta local cuyas cabeceras anulan las cabeceras de respuesta originales, dejando referencias colgantes y causando un fallo. Esto resulta en denegación de servicio. Actualizar a las versiones 1.36.2, 1.35.6, 1.34.10 o 1.33.12 soluciona el problema. Aumentar per_connection_buffer_limit_bytes (y para HTTP/2 el initial_stream_window_size) o aumentar per_request_buffer_limit_bytes / request_body_buffer_limit puede reducir la probabilidad de activar la condición, pero no corrige el defecto de seguridad de memoria subyacente.","source":"nvd"}],"published":"2025-10-16T21:23:41.883Z","modified":"2026-10-09T10:10:00.193Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":">= 1.36.0, <= 1.36.1","status":"affected"},{"version":">= 1.350, <= 1.35.5","status":"affected"},{"version":">= 1.34.0, <= 1.34.9","status":"affected"},{"version":"<= 1.33.11","status":"affected"}],"vendor":"envoyproxy","product":"envoy","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.33.12"},{"status":"affected","introduced":"1.34.0","fixed":"1.34.10"},{"status":"affected","introduced":"1.35.0","fixed":"1.35.6"},{"status":"affected","introduced":"1.36.0","fixed":"1.36.2"}],"vendor":"envoyproxy","product":"envoy","cpe":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.33.12"},{"type":"semver","introduced":"1.34.0","status":"affected","fixed":"1.34.10"},{"type":"semver","introduced":"1.35.0","status":"affected","fixed":"1.35.6"},{"type":"semver","introduced":"1.36.0","status":"affected","fixed":"1.36.2"}],"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","source":"bitnami"}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-gcxr-6vrp-wff3","tags":["advisory","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62504","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-17T13:42:09.559Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62504","url":"https://www.cve.org/CVERecord?id=CVE-2025-62504","licence":"CVE Terms of Use","modified":"2025-10-17T13:42:31.308Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62504","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62504","licence":"Public domain","modified":"2026-10-09T10:10:00.193Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-2025-62504","url":"https://osv.dev/vulnerability/BIT-ENVOY-2025-62504","licence":"Apache-2.0","modified":"2026-09-08T08:47:28.762Z"}],"updatedAt":"2026-11-25T22:59:06.518Z","epss":{"score":0.00434,"percentile":0.39425,"date":"2026-12-01T12:00:22.000Z"}}