CVE-2025-54588: Envoy: Race condition in Dynamic Forward Proxy leads to use-after-free and segmentation faults
Summary A use-after-free (UAF) vulnerability in Envoy's DNS cache causes abnormal process termination. Envoy may reallocate memory when processing a pending DNS resolution, causing list iterator to reference freed memory. Details The vulnerability exists in Envoy's Dynamic Forward Proxy implementation starting from version v1.34.0.
Published Sep 15, 2025
Affected packages
github.com/envoyproxy/envoy
- Ecosystem
- Go
- Affected
- = 1.35.0
- Fixed in
- 1.35.1
- Check
go list -m github.com/envoyproxy/envoy
github.com/envoyproxy/envoy
- Ecosystem
- Go
- Affected
- >= 1.34.0, < 1.34.5
- Fixed in
- 1.34.5
- Check
go list -m github.com/envoyproxy/envoy
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A use-after-free (UAF) vulnerability in Envoy's DNS cache causes abnormal process termination. Envoy may reallocate memory when processing a pending DNS resolution, causing list iterator to reference freed memory.
Details
The vulnerability exists in Envoy's Dynamic Forward Proxy implementation starting from version v1.34.0. The issue occurs when a completion callback for a DNS resolution triggers new DNS resolutions or removes existing pending resolutions. This condition may occur in the following configuration:
- Dynamic Forwarding Filter is enabled.
envoy.reloadable_features.dfp_cluster_resolves_hostsruntime flag is enabled.- The Host header is modified between the Dynamic Forwarding Filter and Router filters.
Impact
Denial of service due to abnormal process termination.
Attack vector(s)
Request to Envoy configured as indicated above.
Patches
Users should upgrade to v1.35.1 or v1.34.5.
Workaround
Set the envoy.reloadable_features.dfp_cluster_resolves_hosts runtime flag to false.
Detection
Abnormal process termination with the Envoy::Event::DispatcherImpl::runPostCallbacks() frame in the call stack.
Credits
Rohit Agrawal (agrawroh) ([[email protected]](mailto:[email protected]))
Credited to agrawroh, yanavlasov, phlax, botengyao.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-26308
Envoy has RBAC Header Validation Bypass via Multi-Value Header Concatenation
high7.5Mar 10, 2026CVE-2026-26309
Envoy affected by off-by-one write in JsonEscaper::escapeString()
medium5.3No fixMar 10, 2026CVE-2026-26310
Envoy vulnerable to crash for scoped ip address during DNS
medium5.9No fixMar 10, 2026CVE-2026-26311
Envoy: HTTP - filter chain execution on reset streams causing UAF crash
medium5.9No fixMar 10, 2026CVE-2026-26330
Envoy's global rate limit may crash when the response phase limit is enabled and the response phase request is failed directly
medium5.3No fixMar 10, 2026CVE-2025-64527
Envoy crashes when JWT authentication is configured with the remote JWKS fetching
medium6.5Dec 5, 2025
