← back
CVE-2025-22868highCWE-1286

Unexpected memory consumption during token parsing in golang.org/x/oauth2

21Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 7.5epss 0.9%
exploitation probability
0.9%top 43% of all CVEs
observed exploitation
nono source reports it
In short

An attacker can send a specially crafted token that makes the OAuth2 library consume excessive memory while trying to parse it, potentially causing the application to slow down or crash.

Technical detail

The golang.org/x/oauth2 library fails to properly validate token structure during parsing, allowing an attacker to supply a malformed token that triggers unbounded memory allocation. This denial-of-service condition occurs without authentication requirements, impacting any application using the vulnerable library version.

Summary generated and translated by AI from the official description.
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H