CVE-2025-22868
HIGH 7.5CVSS 3.1golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
- Published
- 26 Feb 2025
- Last modified
- 23 Nov 2026
- Assigned by
- security@golang.org
- NVD status
- Analyzed
- Weakness
- CWE-1286
- Also known as
- GHSA-6v2p-p543-phr9GO-2025-3488
- Sources
- NVDJSONOSV GHSA-6v2p-p543-phr9JSONOSV GO-2025-3488JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go | jwscpe:2.3:a:go:jws:*:*:*:*:*:go:*:* |
< 0.27.0 | 0.27.0 |
| OSV | Go | golang.org/x/oauth2 | < 0.27.0 | 0.27.0 |
References
- https://go.dev/cl/652155 · Patch, WEB, FIX
- https://go.dev/issue/71490 · Issue Tracking, Patch, WEB, REPORT
- https://pkg.go.dev/vuln/GO-2025-3488 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-22868 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 26 Feb 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Feb 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Jul 2025)