7.5High

CVE-2025-22868Unexpected memory consumption during token parsing in golang.org/x/oauth2

golang.org/x/oauth2 golang.org/x/oauth2/jws Published: (1 year ago)

Description

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

Weakness (CWE): CWE-1286

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
go jws < 0.27.0
golang.org/x/oauth2 golang.org/x/oauth2/jws < 0.27.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:go:jws:*:*:*:*:*:go:*:* < 0.27.0