CVE-2025-22868
7.5high
Unexpected memory consumption during token parsing in golang.org/x/oauth2
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.87% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GHSA-6v2p-p543-phr9GO-2025-3488
Description
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| golang.org/x/oauth2/jws | before 0.27.0 | CVE List |
| golang.org/x/oauth2 (Go) | before 0.27.0 | GitHub Advisory Database, Go Vulnerability Database |
| go jws | before 0.27.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
NVD (es)
Un atacante puede pasar un token malintencionado que provoque un consumo inesperado de memoria durante el anĂ¡lisis.
References
| https://go.dev/cl/652155 | fix, patch, web | |
| https://go.dev/issue/71490 | issue-tracking, patch, report, web | |
| https://pkg.go.dev/vuln/GO-2025-3488 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-22868 | advisory | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22868 changed 2025-02-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6v2p-p543-phr9 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3488 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2025-22868 changed 2026-06-17 | Public domain |