cve.bz

CVE-2025-22868 go jws

7.5 highEPSS 0.9%Fix available

High (7.5) in go jws. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/oauth2 0.27.0.

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

Severity

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
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1286 Improper Validation of Syntactic Correctness of Input
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-22868 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22868?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22868?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22868 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
golang.org/x/oauth2/jwsbefore 0.27.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6v2p-p543-phr9Gogolang.org/x/oauth2<0.27.00.27.0
GO-2025-3488Gogolang.org/x/oauth2<0.27.00.27.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-golang-x-oauth2no fix listedDEBIAN-CVE-2025-22868
Debian13, 14golang-golang-x-oauth20.27.0-1DEBIAN-CVE-2025-22868
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moregolang-golang-x-oauth2no fix listedUBUNTU-CVE-2025-22868
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 15 moredocker27.5.1_ce-150000.218.1SUSE-SU-2025:1062-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moredocker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 moredocker-stable24.0.9_ce-150000.1.15.1SUSE-SU-2025:1062-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morerekor1.3.10-150400.4.25.1SUSE-SU-2025:1332-1
SUSELinux Enterprise Micro 5.1ignition2.14.0-150300.4.13.1SUSE-SU-2025:02035-1
SUSELinux Enterprise Micro 5.2ignition2.14.0-150300.6.13.1SUSE-SU-2025:02040-1
SUSELinux Enterprise Micro 5.3ignition2.14.0-150400.4.9.1SUSE-SU-2025:02046-1
SUSELinux Enterprise Micro 5.4ignition2.15.0-150400.4.11.1SUSE-SU-2025:02041-1
SUSELinux Enterprise Micro 5.5ignition2.17.0-150500.3.12.1SUSE-SU-2025:02097-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP3, Linux Enterprise Module for Public Cloud 15 SP4 and 2 moregoogle-guest-agent20250116.00-150000.1.57.1SUSE-SU-2025:1005-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP3, Linux Enterprise Module for Public Cloud 15 SP4 and 2 moregoogle-osconfig-agent20250115.01-150000.1.47.1SUSE-SU-2025:1006-1
25 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6cadvisor0.52.1-bp156.3.3.1openSUSE-SU-2025:0103-1
openSUSELeap 15.6cosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
openSUSELeap 15.6docker27.5.1_ce-150000.218.1SUSE-SU-2025:1062-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.15.1SUSE-SU-2025:1062-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.39.1SUSE-SU-2026:0972-1
openSUSELeap 15.6google-cloud-sap-agent3.6-150100.3.44.1SUSE-SU-2025:0882-1
openSUSELeap 15.6google-guest-agent20250116.00-150000.1.57.1SUSE-SU-2025:1005-1
openSUSELeap 15.6google-osconfig-agent20250115.01-150000.1.47.1SUSE-SU-2025:1006-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250226T025151-150000.1.35.1SUSE-SU-2025:0770-1
openSUSELeap 15.6ignition2.14.0-150400.9.9.1SUSE-SU-2025:02014-1
openSUSELeap 15.6rekor1.3.10-150400.4.25.1SUSE-SU-2025:1332-1
25 more for openSUSE in the JSON and on openSUSE's page.
Rocky Linux10opentelemetry-collector0:0.107.0-9.el10_0RLSA-2025:7479
Azure Linux2azcopy10.25.1-5AZL-57443
Azure Linux2blobfuse22.1.2-8AZL-57450
Azure Linux2cert-manager1.11.2-20AZL-57407
Azure Linux2coredns1.11.1-14AZL-57453
Azure Linux2kubernetes1.28.4-15AZL-57462
Azure Linux2moby-engine24.0.9-15AZL-57449
Azure Linux2node-problem-detector0.8.17-6AZL-57410
Azure Linux2packer1.9.5-10AZL-57422
Azure Linux2telegraf1.29.4-13AZL-57467
Azure Linux2vitess17.0.7-5AZL-57425
Azure Linux3azcopy10.25.1-2AZL-57309
Azure Linux3cert-manager1.12.15-2AZL-57312
11 more for Azure Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

IMPORTANT impact: CVE-2025-22868 affects Red Hat product components that use golang.org/x/oauth2/jws, including components across Red Hat Enterprise Linux, OpenShift, cloud, management, Ansible, Ceph, and other Red Hat products. An unauthenticated remote attacker can submit a maliciously crafted token containing a large number of '.' characters; parsing with strings.Split(token, ".") can consume excessive memory, causing memory exhaustion and denial of service. The current record contains 659 affected component entries, with component-level delegated outcomes including AFFECTED, NOTAFFECTED, WONTFIX, and OOSS; entries classified as NOTAFFECTED are therefore component-specific, and this record provides no more specific product-level justification for those classifications. The CVSS 3.1 score of 7.5 (IMPORTANT) reflects network reachability and a high availability impact, with no confidentiality or integrity impact.

Red Hat's mitigation

To mitigate this vulnerability, it is recommended to pre-validate any payloads passed to `go-jose` to check that they do not contain an excessive amount of `.` characters.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-agent-init-rhel9:0.5.0-9Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-db-rhel9:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-openshift-console-plugin-rhel9:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-operator-bundle:4.0.0-9Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-ose-oauth-proxy-rhel9:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-reports-rhel9:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9-operator:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.0.0-10Fixed 2025-04-02RHSA-2025:3503
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-acmesolver-rhel9Affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Will not fix
cert-manager Operator for Red Hat OpenShiftcert-manager-operator-rhel9Not affected
cert-manager Operator for Red Hat OpenShiftjetstack-cert-manager-acmesolver-rhel9Will not fix
cert-manager Operator for Red Hat OpenShiftjetstack-cert-manager-rhel9Affected
Cryostat 3cryostat-tech-preview/cryostat-storage-rhel8Affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel8Affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel8Affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
614 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22868.

Attack patterns (CAPEC)

  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-676 NoSQL Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON