Envoy crashes when JWT authentication is configured with the remote JWKS fetching
Envoy is a high-performance edge/middle/service proxy. In 1.33.12, 1.34.10, 1.35.6, 1.36.2, and earlier, 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. 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-64527
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 18:21 UTC · Revision 1
Source evidence
Envoy crashes when JWT authentication is configured with the remote JWKS fetching
core-osv · Original sourcePublished 3 Dec 2025, 18:04 UTC
Envoy is a high-performance edge/middle/service proxy. In 1.33.12, 1.34.10, 1.35.6, 1.36.2, and earlier, 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. 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.
osv:CVE-2025-64527
Complete source record
{
"id": "6ce24cbce126edd154e01f261f63cee699e06e764d128eb37857aa51dcde172e",
"url": "https://osv.dev/vulnerability/CVE-2025-64527",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Envoy crashes when JWT authentication is configured with the remote JWKS fetching",
"summary": "Envoy is a high-performance edge/middle/service proxy. In 1.33.12, 1.34.10, 1.35.6, 1.36.2, and earlier, 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. 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.",
"evidence": "osv:CVE-2025-64527",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-64527",
"aliases": [
"BIT-envoy-2025-64527",
"CVE-2025-64527",
"GHSA-mp85-7mrq-r866"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/envoyproxy/envoy",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b2670bbebda00060fc96f3cf9f0d6d2945e26ccf"
},
{
"introduced": "d7809ba2b07fd869d49bfb122b27f6a7977b4d94"
},
{
"fixed": "35e736f3dba538646bff402975604cfd3fe4a700"
},
{
"introduced": "84305a6cb64bd55aaf606bdd53de7cd6080427a1"
},
{
"fixed": "607aaa985080750ae29ac9f6e49a31a5445d28f4"
},
{
"introduced": "63ee0dc79dce88117c6bd2df5a742f8eb67ea980"
},
{
"fixed": "ddabe691e1aaa74b848d0782dab9dbea3b280319"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.33.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.34.0"
},
{
"fixed": "1.34.11"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.35.0"
},
{
"fixed": "1.35.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.36.0"
},
{
"fixed": "1.36.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.34.10",
"v1.35.6",
"v1.36.2",
"v1.33.12",
"v1.36.1",
"v1.35.5",
"v1.33.11",
"v1.34.9",
"v1.36.0",
"v1.35.4",
"v1.34.8",
"v1.33.10",
"v1.33.9",
"v1.35.3",
"v1.34.7",
"v1.35.2",
"v1.33.8",
"v1.34.6",
"v1.34.5",
"v1.35.1",
"v1.33.7",
"v1.34.4",
"v1.33.6",
"v1.35.0",
"v1.34.3",
"v1.33.5",
"v1.34.2",
"v1.33.4",
"v1.33.3",
"v1.34.1",
"v1.34.0",
"v1.33.2",
"v1.33.1",
"v1.33.0",
"v1.32.0",
"v1.31.0",
"v1.30.0",
"v1.29.0",
"v1.28.0",
"v1.27.0",
"v1.26.0",
"v1.25.0",
"v1.24.0",
"v1.23.0",
"v1.22.0",
"v1.21.0",
"v1.20.0",
"v1.19.0",
"v1.18.2",
"v1.18.1",
"v1.18.0",
"v1.17.0",
"v1.16.0",
"v1.15.0",
"v1.14.0",
"v1.13.0",
"v1.12.0",
"v1.11.0",
"v1.10.0",
"v1.9.0",
"v1.8.0",
"v1.7.0",
"v1.6.0",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64527.json"
}
}
],
"modified": "2026-10-28T02:30:44.876864284Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64527.json",
"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mp85-7mrq-r866",
"https://nvd.nist.gov/vuln/detail/CVE-2025-64527"
],
"provider_metadata": {
"cwe_ids": [
"CWE-476"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64527.json"
}
},
"related_cves": [
{
"value": "CVE-2025-64527",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 512658,
"published_at": "2025-12-03T18:04:35.16+00:00"
}