What’s Vulnerable › Vulnerabilities

CVE-2025-22868: Unexpected 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.

Affected products

How to fix

Upgrade to a fixed version: golang.org/x/oauth2/jws 0.27.0; Golang.Org/X/Oauth2 0.27.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22868 or the next vulnerability affects your stack