Skip to content
Fencer Vulns
medium 5.3

CVE-2025-58181 json

Unbounded memory consumption in golang.org/x/crypto/ssh

published 2025-11-19 11 mo ago modified 2026-10-18 21 d ago also EUVD-2025-198228 , GHSA-j5w8-q4qc-rx2x , GO-2025-4134

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.

Patch / fix

  • go golang.org/x/crypto 0.45.0
  • golang.org/x/crypto golang.org/x/crypto/ssh 0.45.0
  • golang-go.crypto Debian 14 1:0.45.0-1

debian advisories DEBIAN-CVE-2025-58181

  • google-guest-agent Ubuntu 22.04 LTS 20250116.00-0ubuntu1~22.04.2
  • google-guest-agent Ubuntu 24.04 LTS 20250116.00-0ubuntu1~24.04.3
  • google-guest-agent Ubuntu 25.10 20250506.01-0ubuntu1.1
  • google-guest-agent Ubuntu 26.10, Ubuntu 26.04 LTS 20250506.01-0ubuntu2
  • google-guest-agent Ubuntu Pro 16.04 LTS 20240716.00-0ubuntu1~16.04.0+esm2
  • google-guest-agent Ubuntu Pro 18.04 LTS 20241011.01-0ubuntu1~18.04.0+esm2
  • google-guest-agent Ubuntu Pro 20.04 LTS 20250116.00-0ubuntu1~20.04.0+esm2

ubuntu advisories UBUNTU-CVE-2025-58181

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • golang1.25 hummingbird 1 1.25.9-1.hum1
  • golang1.25-bin hummingbird 1 1.25.9-1.hum1
  • golang1.25-src hummingbird 1 1.25.9-1.hum1
  • golang1.25-misc hummingbird 1 1.25.9-1.hum1
  • golang1.25-tests hummingbird 1 1.25.9-1.hum1
  • golang1.25-shared hummingbird 1 1.25.9-1.hum1
  • golang1.26 hummingbird 1 1.26.2-1.hum1
  • golang1.26-bin hummingbird 1 1.26.2-1.hum1

red hat advisories RHSA-2026:7385RHSA-2026:7291

  • amazon-ssm-agent SLE Module for Public Cloud 12 3.3.5678.0-4.55.1
  • kubevirt-1.6 SLE Module for Containers 15 SP7 1.6.6-150700.15.17.1
  • terraform-provider-aws SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.11.0-150200.6.18.1
  • terraform-provider-tls SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.5.15.1
  • terraform-provider-helm SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.9.0-150200.6.23.1
  • terraform-provider-null SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.6.18.1
  • terraform-provider-local SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.0.0-150200.6.17.1
  • terraform-provider-google SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.43.0-150200.6.12.1

suse advisories SUSE-SU-2026:5067-1SUSE-SU-2026:3630-1SUSE-SU-2026:3056-1SUSE-SU-2026:2612-1SUSE-SU-2026:2581-1SUSE-SU-2026:2493-1

  • k3sup openSUSE Tumbleweed 0.13.14-1.1
  • kubeseal openSUSE Tumbleweed 0.41.1-1.1
  • kumactl openSUSE Tumbleweed 3.0.0-1.1
  • rz-pm openSUSE Tumbleweed 0.3.6-1.1
  • containerized-data-importer1.65 openSUSE Leap 16.0 1.65.0-160000.3.1
  • zk openSUSE Leap 16.0 0.15.6-bp160.1.1
  • govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
  • vexctl openSUSE Leap 16.0 0.4.4+git20.5d61136-160000.1.1

opensuse advisories openSUSE-SU-2026:12295-1openSUSE-SU-2026:12299-1openSUSE-SU-2026:12300-1openSUSE-SU-2026:11781-1openSUSE-SU-2026:21824-1openSUSE-SU-2026:21567-1

  • etcd Alpine 3.24, Alpine 3.23 3.6.8-r0
  • rclone Alpine 3.24, Alpine 3.23 1.72.1-r0

alpine advisories ALPINE-CVE-2025-58181

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-58181 updated cvss 5.3

golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via unbounded memory consumption in GSSAPI authentication

  • Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel9, openshift-builds/openshift-builds-webhook-rhel9, openshift-builds/openshift-builds-controller-rhel9, openshift-builds/openshift-builds-git-cloner-rhel9, openshift-builds/openshift-builds-image-bundler-rhel9, openshift-builds/openshift-builds-image-processing-rhel9 Red Hat Cryostat 4 cryostat/cryostat-storage-rhel9, cryostat/cryostat-grafana-dashboard-rhel9 Red Hat External Secrets Operator for Red Hat OpenShift external-secrets-operator/external-secrets-rhel9 Red Hat ExternalDNS Operator edo/external-dns-rhel8, edo/external-dns-rhel9 Red Hat Multicluster Engine for Kubernetes multicluster-engine/hive-rhel8, multicluster-engine/hive-rhel9, multicluster-engine/must-gather-rhel8, multicluster-engine/must-gather-rhel9, multicluster-engine/hypershift-cli-rhel8, multicluster-engine/hypershift-cli-rhel9, +13 more Red Hat Multicluster Global Hub multicluster-globalhub/multicluster-globalhub-grafana-rhel9
    +32 more products
    Red Hat OpenShift API for Data Protection oadp/oadp-velero-rhel8, oadp/oadp-mustgather-rhel8, oadp/oadp-mustgather-rhel9, oadp/oadp-velero-restic-restore-helper-rhel9 Red Hat OpenShift Developer Tools and Services openshift4/ose-jenkins, ocp-tools-4/jenkins-rhel8, ocp-tools-4/jenkins-rhel9, ocp-tools-4/jenkins-agent-base-rhel8, ocp-tools-4/jenkins-agent-base-rhel9 Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift Serverless openshift-serverless-clients, openshift-serverless-1/kn-plugin-func-func-util-rhel9 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/istio-rhel8-operator Red Hat Advanced Cluster Management for Kubernetes 2 flightctl, flightctl-agent, flightctl-selinux, rhacm2/volsync-rhel9, rhacm2/acm-grafana-rhel9, rhacm2/acm-must-gather-rhel9, +7 more Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-scanner-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-scanner-db-rhel8, +4 more Red Hat Ansible Automation Platform 2 flightctl Red Hat Ceph Storage 5 rhel8/grafana, rhel9/grafana, rhceph/grafana-rhel9 Red Hat Ceph Storage 6 grafana, rhel8/grafana, rhel9/grafana, rhceph/grafana-rhel9 Red Hat Ceph Storage 7 grafana Red Hat Ceph Storage 8 grafana, rhel8/grafana, rhel9/grafana Red Hat Ceph Storage 9 grafana Red Hat Edge Manager preview flightctl, rhem/flightctl-api-rhel9, rhem/flightctl-worker-rhel9, rhem/flightctl-db-setup-rhel9, rhem/flightctl-periodic-rhel9, rhacm2/acm-flightctl-api-rhel9, +7 more Red Hat Enterprise Linux 8 rhc, conmon, podman, skopeo, buildah, toolbox, +11 more Red Hat Enterprise Linux 9 rhc, conmon, podman, buildah, toolbox, podman-tests, +9 more Red Hat Enterprise Linux 10 podman, buildah, gvisor-tap-vsock Red Hat OpenShift AI (RHOAI) rhoai/odh-trainer-rhel9, rhoai/odh-model-registry-rhel9, rhoai/odh-data-science-pipelines-argo-argoexec-rhel9, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9 Red Hat OpenShift Container Platform 4 cri-o, conmon, podman, openshift, microshift, podman-tests, +138 more Red Hat OpenShift Dev Spaces devspaces/traefik-rhel9, devspaces/configbump-rhel9 Red Hat OpenShift Dev Workspaces Operator devworkspace/devworkspace-rhel9-operator, devworkspace/devworkspace-project-clone-rhel9 Red Hat OpenShift for Windows Containers openshift4-wincw/windows-machine-config-rhel9-operator, openshift4-wincw/windows-machine-config-operator-bundle Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/argocd-agent-rhel8, openshift-gitops-1/gitops-rhel8-operator, openshift-gitops-1/gitops-operator-bundle Red Hat OpenShift on AWS rosa Red Hat OpenShift Virtualization 4 kubevirt, container-native-virtualization/virt-api, container-native-virtualization/virt-handler, container-native-virtualization/virt-launcher, container-native-virtualization/virt-operator, container-native-virtualization/ovs-cni-marker, +23 more Red Hat OpenStack Platform 16.2 etcd, rhosp-rhel8/osp-director-agent, rhosp-rhel9/osp-director-agent, rhosp-rhel8/osp-director-operator, rhosp-rhel9/osp-director-operator, rhosp-rhel9/osp-director-downloader, +2 more Red Hat OpenStack Platform 17.1 rhosp-rhel9/osp-director-agent, rhosp-rhel9/osp-director-operator, rhosp-rhel9/osp-director-downloader, rhosp-rhel9/osp-director-operator-bundle Red Hat OpenStack Platform 18.0 rhoso-operators/octavia-rhel9-operator, rhoso-operators/prometheus-podman-exporter-rhel9 Red Hat Quay 3 quay/quay-builder-rhel8 Red Hat Service Interconnect 1 skupper-cli Red Hat Trusted Artifact Signer rhtas/cosign-rhel9, rhtas/fulcio-rhel9, rhtas/gitsign-rhel9, rhtas/rekor-cli-rhel9, rhtas/rekor-server-rhel9, rhtas/rekor-monitor-rhel9, +4 more Red Hat Zero Trust Workload Identity Manager - Tech Preview zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9, zero-trust-workload-identity-manager/spiffe-spire-server-rhel9, zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.17 cert-manager/cert-manager-operator-rhel9 1791788287, cert-manager/jetstack-cert-manager-rhel9 1791371069, cert-manager/jetstack-cert-manager-acmesolver-rhel9 1791371080
    fixed: vendor fix RHSA-2026:82322
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.18 cert-manager/cert-manager-istio-csr-rhel9 1791459759
    fixed: vendor fix RHSA-2026:82354

6 more fixed, 5 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
11 mo ago

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
go golang.org/x/crypto
<0.45.0
0.45.0

Affected products

  • golang.org/x/crypto golang.org/x/crypto/ssh

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.