PoC Monitor
← All CVEs
CVE-2025-22868published 26 Feb 2025 03:07 UTCData: JSON · API

golang.org/x/oauth2 golang.org/x/oauth2/jws

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

An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-1286
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

golang.org/x/oauth2 golang.org/x/oauth2/jws
  • < 0.27.0

Fixed in 0.27.0

Mitigation

Upgrade golang.org/x/oauth2/jws to 0.27.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published26 Feb 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.