Skip to main content
Mallory
HighVulnerability

CVE-2025-22868: Memory exhaustion in Go OAuth2 JWS token parsing

Published Feb 26, 2025 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.5High · v3.1
EPSS1.0%63rd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Go
IdentifiersCVE-2025-22868CWE-400

CVE-2025-22868 is an excessive memory-consumption vulnerability in the Go OAuth2 library's jws package. Parsing an attacker-supplied malformed token can cause unexpected memory allocation, potentially exhausting available memory and denying service to applications using the affected parser. The vulnerability can be exploited remotely without authentication or user interaction when an application exposes the vulnerable parsing operation to untrusted input.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can exhaust application memory, causing service degradation or denial of service. The vulnerability is rated High, with a CVSS v3.0 base score of 7.5 and high availability impact. No confidentiality or integrity impact is identified.

Mitigation

If you can’t patch tonight, do this now.

Until updates can be deployed, avoid parsing untrusted JWS tokens where operationally feasible. Enforce strict request and token-size limits before parsing, rate-limit token-processing endpoints, and apply process or container memory limits with monitoring and restart handling to reduce denial-of-service impact.

Remediation

Patch, then assume compromise.

Apply vendor updates that incorporate the corrected Go OAuth2 dependency, including updated application binaries and container images. Identified fixed downstream releases include Red Hat OpenTelemetry Collector 0.107.0-7.el9_4, VolSync 0.11.2, and OpenShift Container Platform 4.12.79, 4.14.53, 4.15.52, 4.16.44, 4.17.35, and 4.18.14 for their respective branches. Follow the supported vendor upgrade path. An upstream Go OAuth2 fixed-version boundary is not specified.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
GoJwsapplication
FAQ

Frequently asked questions

Is CVE-2025-22868 exploited in the wild?
As of Nov 20, 2026, Mallory has no reports of CVE-2025-22868 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-22868?
As of Nov 20, 2026, Mallory has found no public exploit for CVE-2025-22868.
Is there a patch for CVE-2025-22868?
Apply vendor updates that incorporate the corrected Go OAuth2 dependency, including updated application binaries and container images. Identified fixed downstream releases include Red Hat OpenTelemetry Collector 0.107.0-7.el9_4, VolSync 0.11.2, and OpenShift Container Platform 4.12.79, 4.14.53, 4.15.52, 4.16.44, 4.17.35, and 4.18.14 for their respective branches.
What products are affected by CVE-2025-22868?
Go Jws.
How severe is CVE-2025-22868?
CVE-2025-22868 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.0% (63rd percentile) as of Nov 20, 2026.
Activity feed

Recent activity

66 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+39 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.