CVE-2025-22868Go Jws
High 7.5 No auth needed
Follow: this CVE · Go · Go Jws We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Feb 26, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1286
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
What to do
- Apply the vendor's security update for Jws.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/oauth2 |
< 0.27.0 |
0.27.0 |
go get golang.org/x/oauth2@v0.27.0 |
| Go | golang.org/x/oauth2 |
< 0.27.0 |
0.27.0 |
go get golang.org/x/oauth2@v0.27.0 |
Per OSV / GitHub Advisories (GHSA-6v2p-p543-phr9, GO-2025-3488). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go | jws | < 0.27.0 |
Official advisories
- Red Hat Security Advisory: opentelemetry-collector security update · Red Hat · RHSA-2025:7479 · Nov 23, 2026 High
- Red Hat Security Advisory: opentelemetry-collector security update · Red Hat · RHSA-2025:7407 · Nov 23, 2026 High
- Red Hat Security Advisory: opentelemetry-collector security update · Red Hat · RHSA-2025:3593 · Nov 23, 2026 High
- Security update for go-containerregistry · SUSE · openSUSE-SU-2026:22227-1 · Nov 3, 2026 High
- Security update for vexctl · SUSE · openSUSE-SU-2026:21481-1 · Jul 30, 2026 Critical
- Security update for google-osconfig-agent · SUSE · SUSE-SU-2026:22558-1 · Jul 6, 2026 Critical
Also: Red Hat (+1), SUSE (+16)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Issue Tracking Patch
- pkg.go.dev Third Party Advisory