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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2025-02-26T02:51:51.000Z
- Modified: 2026-11-23T21:12:28.594Z
- Also known as: GHSA-6v2p-p543-phr9, GO-2025-3488
- Related: RHSA-2025:3335, RHSA-2025:3593, RHSA-2025:7407, RHSA-2025:7479
- Weaknesses: CWE-1286
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## Description

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

(As written by CVE List.)

## Affected

- golang.org/x/oauth2/jws: before 0.27.0
- golang.org/x/oauth2 (Go): before 0.27.0
- go jws: before 0.27.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://go.dev/cl/652155> (fix, patch, web)
- <https://go.dev/issue/71490> (issue-tracking, patch, report, web)
- <https://pkg.go.dev/vuln/GO-2025-3488> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22868> (advisory)

## Sources

- CVE List: [CVE-2025-22868](https://www.cve.org/CVERecord?id=CVE-2025-22868), CVE Terms of Use, modified 2025-02-26
- GitHub Advisory Database: [GHSA-6v2p-p543-phr9](https://github.com/advisories/GHSA-6v2p-p543-phr9), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3488](https://pkg.go.dev/vuln/GO-2025-3488), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2025-22868](https://nvd.nist.gov/vuln/detail/CVE-2025-22868), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-22868 · Whole record: https://cve.day/CVE-2025-22868.json · Rebuilt by cve.day 2026-11-25T22:58:54.442Z
