GitHub Advisoryadvisory · Go

GHSA-6v2p-p543-phr9 golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability

HIGH Published 2025-07-18 Modified 2025-07-18 Official page ↗
Aliases
CVE-2025-22868
Ecosystem
Go
Packages
golang.org/x/oauth2
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1286
Reviewed
2025-07-18

Affected packages

• Go golang.org/x/oauth2: < 0.27.0 → fixed in 0.27.0

Description

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

Related

Alias · CVE (1)

  • CVE-2025-22868 An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing. vulnerability

Weakness · CWE (1)

  • CWE-1286 Improper Validation of Syntactic Correctness of Input weakness

References