CVE-2025-22868
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.87% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GHSA-6v2p-p543-phr9GO-2025-3488

Description

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

Affected

Product or packageVersionsReported by
golang.org/x/oauth2/jwsbefore 0.27.0CVE List
golang.org/x/oauth2 (Go)before 0.27.0GitHub Advisory Database, Go Vulnerability Database
go jwsbefore 0.27.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1286

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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

NVD (es)

Un atacante puede pasar un token malintencionado que provoque un consumo inesperado de memoria durante el anĂ¡lisis.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-22868 changed 2025-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-6v2p-p543-phr9 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3488 changed 2026-11-23CC-BY-4.0
NVDCVE-2025-22868 changed 2026-06-17Public domain