Open-source package vulnerability · Go
CVE-2025-22868: golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
highCVSS 3.1 7.5GHSA-6v2p-p543-phr9
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
Published Jul 18, 2025
Affected packages
golang.org/x/oauth2
- Ecosystem
- Go
- Affected
- < 0.27.0
- Fixed in
- 0.27.0
- Check
go list -m golang.org/x/oauth2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
