Advisory

GO-2025-3488

Also known as: CVE-2025-22868, GHSA-6v2p-p543-phr9

Summary

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

Details

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

Severity

Not rated by the source.

Dates

Published
2025-02-26 02:51 UTC
Modified
2026-11-14 13:12 UTC

Affected packages and fixes

golang.org/x/oauth2

Go · All systems

Affected

  • introduced 0, fixed 0.27.0 (semver)

Fixed versions

0.27.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences