CVE-2025-64527: Github.com/envoyproxy/envoy Envoy Crashes When JWT Authentication Vulnerability
MODERATECVE-2025-64527 is a MODERATE (CVSS 6.5) envoy crashes when jwt authentication vulnerability (CWE-476: NULL Pointer Dereference) affecting Github.com/envoyproxy/envoy libraries in the Go ecosystem. The issue involves envoy crashes when jwt authentication is configured with the remote jwks fetching. Remediation is available by upgrading affected packages to version 1.36.3, 1.35.7, 1.34.11, 1.33.13.
CVE-2025-64527 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-64527
To remediate this vulnerability, upgrade all affected Github.com/envoyproxy/envoy dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/envoyproxy/envoy to 1.36.3
Upgrade github.com/envoyproxy/envoy to 1.35.7
Upgrade github.com/envoyproxy/envoy to 1.34.11
Upgrade github.com/envoyproxy/envoy to 1.33.13
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/envoyproxy/envoy
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64527, inspect your project dependencies for Github.com/envoyproxy/envoy:
inspect dependencies for github.com/envoyproxy/envoy
Analyze the terminal output to locate any version of Github.com/envoyproxy/envoy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.36.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. In Github.com/envoyproxy/envoy, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64527 Affected Github.com/envoyproxy/envoy Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/envoyproxy/envoy
|
Go |
≥ 1.36.0
< 1.36.3
|
1.36.3
|
|
github.com/envoyproxy/envoy
|
Go |
≥ 1.35.0
< 1.35.7
|
1.35.7
|
|
github.com/envoyproxy/envoy
|
Go |
≥ 1.34.0
< 1.34.11
|
1.34.11
|
|
github.com/envoyproxy/envoy
|
Go |
< 1.33.13
|
1.33.13
|
References
Frequently Asked Questions
What is CVE-2025-64527?
Which Github.com/envoyproxy/envoy versions are affected?
What version fixes CVE-2025-64527?
Is github.com/envoyproxy/envoy affected?
What is the CVSS score of CVE-2025-64527?
What CWE is associated with CVE-2025-64527?
How can I check Go dependencies for CVE-2025-64527?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mp85-7mrq-r866",
"modified" : "2025-12-05T18:12:39Z",
"published" : "2025-12-05T18:12:39Z",
"aliases" : [ "CVE-2025-64527" ],
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.36.0"
}, {
"fixed" : "1.36.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.36.2"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.35.0"
}, {
"fixed" : "1.35.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.35.6"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.34.0"
}, {
"fixed" : "1.34.11"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.34.10"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.33.13"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.33.12"
}
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-476" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-05T18:12:39Z",
"nvd_published_at" : "2025-12-03T18:15:46Z"
}
}