cve.bz

CVE-2025-58181 golang crypto

5.3 mediumEPSS 0.6%Fix available

Medium (5.3) in golang crypto. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.45.0.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-15. 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-11-19. 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-770 Allocation of Resources Without Limits or Throttling
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-58181 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58181?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58181?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-58181 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.

Badge for a README or a site

CVE-2025-58181

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-58181](https://cve.bz/cve/badge/CVE-2025-58181.svg)](https://cve.bz/cve/CVE-2025-58181)

HTML:

<a href="https://cve.bz/cve/CVE-2025-58181"><img src="https://cve.bz/cve/badge/CVE-2025-58181.svg" alt="CVE-2025-58181"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
golang.org/x/crypto/sshbefore 0.45.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j5w8-q4qc-rx2xGogolang.org/x/crypto<0.45.00.45.0
GO-2025-4134Gogolang.org/x/crypto<0.45.00.45.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-go.cryptono fix listedDEBIAN-CVE-2025-58181
Debian14golang-go.crypto1:0.45.0-1DEBIAN-CVE-2025-58181
Ubuntu22.04:LTSgoogle-guest-agent20250116.00-0ubuntu1~22.04.2UBUNTU-CVE-2025-58181
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSsnapdno fix listedUBUNTU-CVE-2025-58181
Ubuntu24.04:LTSgoogle-guest-agent20250116.00-0ubuntu1~24.04.3UBUNTU-CVE-2025-58181
Ubuntu25.10google-guest-agent20250506.01-0ubuntu1.1UBUNTU-CVE-2025-58181
Ubuntu25.10, 26.10, Pro:20.04:LTSsnapd, golang-go.cryptono fix listedUBUNTU-CVE-2025-58181
Ubuntu26.04:LTS, 26.10google-guest-agent20250506.01-0ubuntu2UBUNTU-CVE-2025-58181
UbuntuPro:16.04:LTSgoogle-guest-agent20240716.00-0ubuntu1~16.04.0+esm2UBUNTU-CVE-2025-58181
UbuntuPro:16.04:LTS, Pro:18.04:LTSlxd, snapd, golang-go.cryptono fix listedUBUNTU-CVE-2025-58181
UbuntuPro:18.04:LTSgoogle-guest-agent20241011.01-0ubuntu1~18.04.0+esm2UBUNTU-CVE-2025-58181
UbuntuPro:20.04:LTSgoogle-guest-agent20250116.00-0ubuntu1~20.04.0+esm2UBUNTU-CVE-2025-58181
UbuntuPro:22.04:LTS, Pro:24.04:LTS, Pro:26.04:LTSgolang-go.cryptono fix listedUBUNTU-CVE-2025-58181
Red Hathummingbird:1golang1.25, golang1.25-bin, golang1.25-src and 4 more0:1.25.9-1.hum1RHSA-2026:7385
Red Hathummingbird:1golang1.26, golang1.26-bin, golang1.26-src and 4 more0:1.26.2-1.hum1RHSA-2026:7291
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 12 moredocker29.4.0_ce-150000.250.1SUSE-SU-2026:2429-1
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 3 moredocker28.5.1_ce-150000.241.2SUSE-SU-2026:0666-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 moregoogle-guest-agent20260529.00-150000.1.70.1SUSE-SU-2026:2612-1
SUSELinux Enterprise Module for Basesystem 15 SP7cosign3.0.5-150400.3.35.1SUSE-SU-2026:0777-1
SUSELinux Enterprise Module for Containers 15 SP7containerized-data-importer1.64.0-150700.9.11.1SUSE-SU-2026:2493-1
SUSELinux Enterprise Module for Containers 15 SP7docker-stable24.0.9_ce-150000.1.39.1SUSE-SU-2026:0972-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt1.7.4-150700.3.24.2SUSE-SU-2026:2400-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt-1.61.6.6-150700.15.17.1SUSE-SU-2026:3630-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt-1.61.6.6-150700.15.7.1SUSE-SU-2026:2401-1
SUSELinux Enterprise Module for HPC 15 SP7, Linux Enterprise Server 15 SP6-LTSSapptainer1.4.5-150600.4.12.1SUSE-SU-2026:0439-1
SUSELinux Enterprise Module for HPC 15 SP7, Linux Enterprise Server 15 SP6-LTSSsquashfuse0.5.0-150600.3.2.1SUSE-SU-2026:0439-1
SUSELinux Enterprise Module for Public Cloud 12amazon-ssm-agent3.3.5678.0-4.55.1SUSE-SU-2026:5067-1
26 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6apptainer1.4.5-150600.4.12.1SUSE-SU-2026:0439-1
openSUSELeap 15.6cosign3.0.5-150400.3.35.1SUSE-SU-2026:0777-1
openSUSELeap 15.6docker28.5.1_ce-150000.241.2SUSE-SU-2026:0666-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.39.1SUSE-SU-2026:0972-1
openSUSELeap 15.6squashfuse0.5.0-150600.3.2.1SUSE-SU-2026:0439-1
openSUSELeap 15.6vexctl0.4.1+git78.f951e3a-150000.1.11.1SUSE-SU-2026:0592-1
openSUSELeap 16.0cheat4.4.2-bp160.2.1openSUSE-SU-2025:20177-1
openSUSELeap 16.0containerized-data-importer1.651.65.0-160000.3.1openSUSE-SU-2026:21824-1
openSUSELeap 16.0cosign3.0.5-160000.1.1openSUSE-SU-2026:20386-1
openSUSELeap 16.0docker28.5.1_ce-160000.5.1openSUSE-SU-2026:20249-1
openSUSELeap 16.0docker-stable24.0.9_ce-160000.4.1openSUSE-SU-2026:20366-1
openSUSELeap 16.0elemental-register1.8.1-160000.1.1openSUSE-SU-2026:20132-1
26 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.23, v3.24etcd3.6.8-r0ALPINE-CVE-2025-58181
Alpinev3.23, v3.24rclone1.72.1-r0ALPINE-CVE-2025-58181

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat. SSH servers utilizing `golang.org/x/crypto/ssh` and configured to process GSSAPI authentication requests are susceptible to unbounded memory consumption. An attacker can exploit this by sending specially crafted GSSAPI authentication requests, potentially leading to a denial of service.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-rhel9:1791371069Fixed 2026-10-13RHSA-2026:82304
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-rhel9:1791788287Fixed 2026-10-13RHSA-2026:82322
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-istio-csr-rhel9:1791459759Fixed 2026-10-13RHSA-2026:82354
OpenShift API for Data Protection 1.6oadp/oadp-velero-rhel9:1784058822Fixed 2026-07-22RHSA-2026:43692
Red Hat Ceph Storage 7.1rhceph/grafana-rhel9:1791450715Fixed 2026-10-15RHSA-2026:83548
Red Hat Ceph Storage 8.1rhceph/grafana-rhel9:1777566546Fixed 2026-05-11RHSA-2026:15979
Red Hat Ceph Storage 9.0rhceph/grafana-rhel10:1781018768Fixed 2026-06-16RHSA-2026:26411
Red Hat Hardened Imagesgolang1-26-main-1.26.2-1.hum1Fixed 2026-04-09RHSA-2026:7291
Red Hat Hardened Imagesgolang1-25-main-1.25.9-1.hum1Fixed 2026-04-10RHSA-2026:7385
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Fix deferred
Cryostat 4cryostat/cryostat-grafana-dashboard-rhel9Fix deferred
Cryostat 4cryostat/cryostat-storage-rhel9Fix deferred
ExternalDNS Operatoredo/external-dns-rhel8Fix deferred
ExternalDNS Operatoredo/external-dns-rhel9Fix deferred
307 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-58181.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON