CVE-2025-22868

GHSA-6v2p-p543-phr9 · GO-2025-3488 · published 26 Feb 2025 · updated 14 Nov 2026

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

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.27.0 and golang.org/x/oauth2 0.27.0.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
golang.org/x/oauth2<0.27.00.27.0
go: golang.org/x/oauth2<0.27.00.27.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-22868 severity on Zeptric[![CVE-2025-22868](https://zeptric.io/badge/cve/CVE-2025-22868.svg)](https://zeptric.io/cve/CVE-2025-22868)