CVE-2025-64527: Envoy crashes when JWT authentication is configured with the remote JWKS fetching

Published Dec 3, 2025
·
Updated

### Summary Envoy crashes when JWT authentication is configured with the remote JWKS fetching, `allow_missing_or_failed` is enabled, multiple JWT tokens are present in the request headers and the JWKS fetch fails. ### Details This is caused by a re-entry bug in the `JwksFetcherImpl`. When the first token's JWKS fetch fails, `onJwksError()` callback triggers processing of the second token, which calls fetch() again on the same fetcher object. The original callback's reset() then clears the second fetch's state (`receiver_ and request_`) which causes a crash when the async HTTP response arrives. ### PoC * `allow_missing_or_failed` or `allow_missing` is enabled * The client send 2 Authorization headers * the remote JWKS fetching failed * There will be crash ### Impact DoS and Crash ### Mitigation * Disable the `allow_missing_or_failed` or `allow_missing`

Affected Software

9 affected componentsFixes available
Envoy Envoy>=1.33.12<1.36.2
Envoyproxy Envoy<1.33.13
Envoyproxy Envoy>=1.34.0<1.34.11
Envoyproxy Envoy>=1.35.0<1.35.7
Envoyproxy Envoy>=1.36.0<1.36.3
go/github.com/envoyproxy/envoy<=1.33.12
1.33.13
go/github.com/envoyproxy/envoy>=1.34.0<=1.34.10
1.34.11
go/github.com/envoyproxy/envoy>=1.35.0<=1.35.6
1.35.7
go/github.com/envoyproxy/envoy>=1.36.0<=1.36.2
1.36.3

Event History

Dec 3, 2025
CVE Published
via MITRE·06:04 PM
Data Sourced
via MITRE·06:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 5, 2025
Advisory Published
via GitHub·06:12 PM
Data Sourced
via GitHub·06:12 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-64527?

CVE-2025-64527 is classified as a critical vulnerability due to its potential to crash Envoy under certain conditions.

2

How do I fix CVE-2025-64527?

To mitigate CVE-2025-64527, update Envoy to versions beyond 1.36.2 or reconfigure JWT authentication to avoid using multiple tokens in request headers.

3

What versions of Envoy are affected by CVE-2025-64527?

CVE-2025-64527 affects Envoy versions 1.33.12, 1.34.10, 1.35.6, and 1.36.2 and earlier.

4

What happens if I don't address CVE-2025-64527?

Neglecting to address CVE-2025-64527 could lead to service disruptions and potential denial of service from crashes when vulnerable configurations are used.

5

Is CVE-2025-64527 related to JWT authentication?

Yes, CVE-2025-64527 specifically pertains to issues arising from JWT authentication when configured with remote JWKS fetching.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203