Skip to main content
Network Thinking Solutions Logo

CVE-2025-62504

Envoy Lua filter use-after-free when oversized rewritten response body causes crash

All CVEs
CVE-2025-62504Published 10/16/2025

Envoy Lua filter use-after-free when oversized rewritten response body causes crash

Vendor advisory
CVSS7.5High

Overview

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.

Published
10/16/2025
Last modified
10/9/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
envoy
envoyproxy
< 1.33.12

Verify advisory

Source
envoy
envoyproxy
≥ 1.34.0, < 1.34.10

Verify advisory

Source
envoy
envoyproxy
≥ 1.35.0, < 1.35.6

Verify advisory

Source
envoy
envoyproxy
≥ 1.36.0, < 1.36.2

Verify advisory

Source
envoy
envoyproxy
>= 1.36.0, <= 1.36.1

Verify advisory

Source
envoy
envoyproxy
>= 1.350, <= 1.35.5

Verify advisory

Source
envoy
envoyproxy
>= 1.34.0, <= 1.34.9

Verify advisory

Source
envoy
envoyproxy
<= 1.33.11

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.