{"id":"CVE-2025-22868","published":"2025-02-26T03:07:49Z","modified":"2025-02-26T14:46:20Z","title":"Unexpected memory consumption during token parsing in golang.org/x/oauth2","vendor":"golang.org/x/oauth2","product":"golang.org/x/oauth2/jws","tier":"tail","description":{"text":"An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0087,"percentile":0.5968,"provenance":"source"},"cwes":[{"id":"CWE-1286","name":"Improper Validation of Syntactic Correctness of Input"}],"references":[{"url":"https://go.dev/cl/652155","tags":[]},{"url":"https://go.dev/issue/71490","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-3488","tags":[]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":11.94},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"golang-org-x-oauth2","affectedVersions":[{"vendor":"golang.org/x/oauth2","product":"golang.org/x/oauth2/jws","versions":["< 0.27.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-26T14:45:27.246610Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"golang.org/x/oauth2","vulnerableRanges":["<0.27.0"],"patched":["0.27.0"],"from":["GHSA-6v2p-p543-phr9","GO-2025-3488"],"provenance":"source"}],"summary":{"text":"The flaw is in the golang.org/x/oauth2 library's jws package, where malformed tokens are parsed without adequate validation of their syntactic correctness. An attacker who can supply a crafted malformed token to an application using this package can cause unexpected memory consumption during parsing, with the attack requiring only network reachability and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:07Z"},"euvd":{"id":"EUVD-2025-5341","exploited":false,"provenance":"source"}}