CVE-2025-22868

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

State
Published
Severity
7.5 High
Published
Feb 26, 2025
Updated
Feb 26, 2025
Reserved
Jan 8, 2025

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-1286 Improper Validation of Syntactic Correctness of Input

Affected Products

ProductVersions
golang.org/x/oauth2/jwsgolang.org/x/oauth2
  • before 0.27.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.