{"id":"CVE-2025-64527","aliases":["BIT-envoy-2025-64527","GHSA-mp85-7mrq-r866"],"summary":"Envoy crashes when JWT authentication is configured with the remote JWKS fetching","published_at":"2025-12-03T12:00:00Z","modified_at":"2026-09-08T08:47:30.623807Z","products":[],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005640000104904175,"percentile":0.476529985666275,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.33.13"},{"introduced":"1.34.0"},{"fixed":"1.34.11"},{"introduced":"1.35.0"},{"fixed":"1.35.7"},{"introduced":"1.36.0"},{"fixed":"1.36.3"}]}],"fixed":["1.33.13","1.34.11","1.35.7","1.36.3"],"provider":"osv","source":"BIT-envoy-2025-64527","relation":"self"},{"ecosystem":"CVE","package":"envoyproxy/envoy","versions":[">= 1.36.0, <= 1.36.2",">= 1.35.0, <= 1.35.6",">= 1.34.0, <= 1.34.10","<= 1.33.12"],"provider":"cvelistv5","source":"CVE-2025-64527","relation":"self"},{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"1.34.0"},{"fixed":"1.34.11"}]}],"fixed":["1.34.11"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"},{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"1.36.0"},{"fixed":"1.36.3"}]}],"fixed":["1.36.3"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"},{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.33.13"}]}],"fixed":["1.33.13"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"},{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"1.35.0"},{"fixed":"1.35.7"}]}],"fixed":["1.35.7"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"},{"ecosystem":"NVD","package":"envoyproxy:envoy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.33.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.34.0"},{"fixed":"1.34.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.35.0"},{"fixed":"1.35.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.36.0"},{"fixed":"1.36.3"}]}],"fixed":["1.33.13","1.34.11","1.35.7","1.36.3"],"provider":"nvd","source":"CVE-2025-64527","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2","cpe":"cpe:/a:redhat:service_mesh:2","status":"affected","packages":["openshift-service-mesh/grafana-rhel8","openshift-service-mesh/istio-cni-rhel8","openshift-service-mesh/istio-must-gather-rhel9","openshift-service-mesh/istio-operator-bundle","openshift-service-mesh/istio-rhel8-operator","openshift-service-mesh/pilot-rhel8","openshift-service-mesh/proxyv2-rhel9","openshift-service-mesh/ratelimit-rhel8"],"package_count":8,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-64527"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 3","cpe":"cpe:/a:redhat:service_mesh:3","status":"affected","packages":["openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9","openshift-service-mesh-tech-preview/istio-ztunnel-rhel9","openshift-service-mesh/istio-cni-rhel9","openshift-service-mesh/istio-must-gather-rhel9","openshift-service-mesh/istio-pilot-rhel9","openshift-service-mesh/istio-proxyv2-rhel9","openshift-service-mesh/istio-rhel9-operator","openshift-service-mesh/istio-sail-operator-bundle","openshift-service-mesh/istio-ztunnel-rhel9"],"package_count":9,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-64527"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-64527","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-64527","license":"CC-BY-4.0","published_at":"2025-12-03T18:04:35.16Z","modified_at":"2025-12-03T20:18:19.588Z","summary":"Envoy crashes when JWT authentication is configured with the remote JWKS fetching","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2025-64527"}],"affected":[{"ecosystem":"CVE","package":"envoyproxy/envoy","versions":[">= 1.36.0, <= 1.36.2",">= 1.35.0, <= 1.35.6",">= 1.34.0, <= 1.34.10","<= 1.33.12"],"provider":"cvelistv5","source":"CVE-2025-64527","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mp85-7mrq-r866"}]},{"provider":"nvd","source_id":"CVE-2025-64527","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64527","severity":[],"affected":[{"ecosystem":"NVD","package":"envoyproxy:envoy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.33.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.34.0"},{"fixed":"1.34.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.35.0"},{"fixed":"1.35.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.36.0"},{"fixed":"1.36.3"}]}],"fixed":["1.33.13","1.34.11","1.35.7","1.36.3"],"provider":"nvd","source":"CVE-2025-64527","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-envoy-2025-64527","relation":"self","url":"https://osv.dev/vulnerability/BIT-envoy-2025-64527","license":"Apache-2.0","published_at":"2025-12-06T11:38:17.923Z","modified_at":"2026-09-08T08:47:30.623807Z","summary":"Envoy crashes when JWT authentication is configured with the remote JWKS fetching","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"BIT-envoy-2025-64527"}],"affected":[{"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.33.13"},{"introduced":"1.34.0"},{"fixed":"1.34.11"},{"introduced":"1.35.0"},{"fixed":"1.35.7"},{"introduced":"1.36.0"},{"fixed":"1.36.3"}]}],"fixed":["1.33.13","1.34.11","1.35.7","1.36.3"],"provider":"osv","source":"BIT-envoy-2025-64527","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mp85-7mrq-r866"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64527"}]},{"provider":"osv","source_id":"GHSA-mp85-7mrq-r866","relation":"self","url":"https://osv.dev/vulnerability/GHSA-mp85-7mrq-r866","license":"CC-BY-4.0","published_at":"2025-12-05T18:12:39Z","modified_at":"2025-12-06T12:29:15.337458Z","summary":"Envoy crashes when JWT authentication is configured with the remote JWKS fetching","details":"### Summary\nEnvoy 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.\n\n### Details\nThis 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.\n\nThe original callback's reset() then clears the second fetch's state (`receiver_ and request_`) which causes a crash when the async HTTP response arrives.\n\n### PoC\n* `allow_missing_or_failed` or `allow_missing` is enabled\n* The client send 2 Authorization headers\n* the remote JWKS fetching failed\n* There will be crash\n\n### Impact\nDoS and Crash\n\n### Mitigation\n* Disable the `allow_missing_or_failed` or `allow_missing`","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-mp85-7mrq-r866"}],"affected":[{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"1.34.0"},{"fixed":"1.34.11"}]}],"fixed":["1.34.11"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"},{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"1.36.0"},{"fixed":"1.36.3"}]}],"fixed":["1.36.3"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"},{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.33.13"}]}],"fixed":["1.33.13"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"},{"ecosystem":"Go","package":"github.com/envoyproxy/envoy","purl":"pkg:golang/github.com/envoyproxy/envoy","ranges":[{"type":"SEMVER","events":[{"introduced":"1.35.0"},{"fixed":"1.35.7"}]}],"fixed":["1.35.7"],"provider":"osv","source":"GHSA-mp85-7mrq-r866","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mp85-7mrq-r866"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64527"},{"type":"PACKAGE","url":"https://github.com/envoyproxy/envoy"}]},{"provider":"redhat-vex","source_id":"CVE-2025-64527","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-64527","license":"CC-BY-4.0","published_at":"2025-12-03T12:00:00Z","modified_at":"2025-12-18T09:07:22Z","summary":"envoy: Envoy: Remote JWT authentication token fetch crash","details":"A flaw was found in Envoy. This vulnerability allows a denial of service (DoS) via a remote JSON Web Token (JWT) authentication token fetch with two or more authentication headers when `allow_missing_or_failed` is set and there is a failed JWT fetching.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2025-64527"},{"type":"Red Hat","score":"Moderate","source":"CVE-2025-64527"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2","cpe":"cpe:/a:redhat:service_mesh:2","status":"affected","packages":["openshift-service-mesh/grafana-rhel8","openshift-service-mesh/istio-cni-rhel8","openshift-service-mesh/istio-must-gather-rhel9","openshift-service-mesh/istio-operator-bundle","openshift-service-mesh/istio-rhel8-operator","openshift-service-mesh/pilot-rhel8","openshift-service-mesh/proxyv2-rhel9","openshift-service-mesh/ratelimit-rhel8"],"package_count":8,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-64527"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 3","cpe":"cpe:/a:redhat:service_mesh:3","status":"affected","packages":["openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9","openshift-service-mesh-tech-preview/istio-ztunnel-rhel9","openshift-service-mesh/istio-cni-rhel9","openshift-service-mesh/istio-must-gather-rhel9","openshift-service-mesh/istio-pilot-rhel9","openshift-service-mesh/istio-proxyv2-rhel9","openshift-service-mesh/istio-rhel9-operator","openshift-service-mesh/istio-sail-operator-bundle","openshift-service-mesh/istio-ztunnel-rhel9"],"package_count":9,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-64527"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64527.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-64527"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2417235"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-64527"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64527"}]}],"references":[{"type":"WEB","url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-mp85-7mrq-r866"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64527"},{"type":"PACKAGE","url":"https://github.com/envoyproxy/envoy"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64527.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-64527"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2417235"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-64527"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-64527","url":"https://www.cve.org/CVERecord?id=CVE-2025-64527","license":"CC-BY-4.0","modified_at":"2025-12-03T20:18:19.588Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2025-64527","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64527","relation":"self"},{"provider":"osv","source_id":"BIT-envoy-2025-64527","url":"https://osv.dev/vulnerability/BIT-envoy-2025-64527","license":"Apache-2.0","modified_at":"2026-09-08T08:47:30.623807Z","relation":"self"},{"provider":"osv","source_id":"GHSA-mp85-7mrq-r866","url":"https://osv.dev/vulnerability/GHSA-mp85-7mrq-r866","license":"CC-BY-4.0","modified_at":"2025-12-06T12:29:15.337458Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-64527","url":"https://access.redhat.com/security/cve/CVE-2025-64527","license":"CC-BY-4.0","modified_at":"2025-12-18T09:07:22Z","relation":"self"}]}
