CVE-2025-62504CWE-416

CVE-2025-62504

Medium · published October 17, 2025

CVSS v3.1
6.5
EPSS
0%
Percentile
35.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00420 · 35.3th percentile
Weakness
CWE-416 · Use After Free
Published
2025-10-17T02:15Z
Affected products (4)
ProductVersionsFixed in
envoyproxy/envoy< 1.33.121.33.12
envoyproxy/envoy≥ 1.34.0, < 1.34.101.34.10
envoyproxy/envoy≥ 1.35.0, < 1.35.61.35.6
envoyproxy/envoy≥ 1.36.0, < 1.36.21.36.2
References (1)
EPSS history
Timeline
  • 16 OCT 21:23Z
    Envoy Lua filter use-after-free when oversized rewritten response body causes crash
    cvelistv5