7.5High
CVE-2025-22868Unexpected memory consumption during token parsing in golang.org/x/oauth2
Description
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
Weakness (CWE):
CWE-1286
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| go | jws | < 0.27.0 | |
| golang.org/x/oauth2 | golang.org/x/oauth2/jws | < 0.27.0 |
References and patches
- https://go.dev/cl/652155 Patch
- https://go.dev/issue/71490 Issue TrackingPatch
- https://pkg.go.dev/vuln/GO-2025-3488 Third Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:go:jws:*:*:*:*:*:go:*:*< 0.27.0