CVE-2025-22868

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

At a glance

Severity
HIGH 7.5
EPSS
EPSS 0.87 % · percentile 59 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Go
NVD status
Analyzed

Description

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

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Weaknesses (CWE)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
golang.org/x/oauth2 · golang.org/x/oauth2/jwsaffected 0 < 0.27.0

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD