CVEfocus › CVE database › CVE-2025-58181

CVE-2025-58181Unbounded memory consumption in golang.org/x/crypto/ssh

CVSS 5.3 MediumEPSS 0.8% (higher than 52% of CVEs)Published 2025-11-19Updated 2025-11-20Assigner: Go

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.

CWE-770

What to do

Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
59Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-go.cryptoFix pendingUBUNTU-CVE-2025-58181
Ubuntu 26.10google-guest-agentFixed20250506.01-0ubuntu2UBUNTU-CVE-2025-58181
Ubuntu 26.10snapdFix pendingUBUNTU-CVE-2025-58181
Ubuntu 26.04golang-go.cryptoFix pendingUBUNTU-CVE-2025-58181
Ubuntu 26.04google-guest-agentFixed20250506.01-0ubuntu2UBUNTU-CVE-2025-58181
Ubuntu 26.04snapdUnder investigationUBUNTU-CVE-2025-58181
Ubuntu 25.10golang-go.cryptoWill not fix
snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto google-guest-agent contains an…
UBUNTU-CVE-2025-58181
Ubuntu 25.10google-guest-agentFixed20250506.01-0ubuntu1.1UBUNTU-CVE-2025-58181
Ubuntu 25.10snapdWill not fix
snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto google-guest-agent contains an…
UBUNTU-CVE-2025-58181
Ubuntu 24.04golang-go.cryptoFix pendingUBUNTU-CVE-2025-58181
Ubuntu 24.04google-guest-agentFixed20250116.00-0ubuntu1~24.04.3UBUNTU-CVE-2025-58181
Ubuntu 24.04snapdUnder investigationUBUNTU-CVE-2025-58181
Ubuntu 22.04golang-go.cryptoFix pendingUBUNTU-CVE-2025-58181
Ubuntu 22.04google-guest-agentFixed20250116.00-0ubuntu1~22.04.2UBUNTU-CVE-2025-58181
Ubuntu 22.04snapdUnder investigationUBUNTU-CVE-2025-58181
Ubuntu 20.04golang-go.cryptoFix pendingUBUNTU-CVE-2025-58181
Ubuntu 20.04google-guest-agentFix pending20250116.00-0ubuntu1~20.04.0+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-58181
Ubuntu 20.04snapdFix pendingUBUNTU-CVE-2025-58181
Ubuntu 18.04golang-go.cryptoFix pendingUBUNTU-CVE-2025-58181
Ubuntu 18.04google-guest-agentFix pending20241011.01-0ubuntu1~18.04.0+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-58181
Ubuntu 18.04lxdFix pendingUBUNTU-CVE-2025-58181
Ubuntu 18.04snapdFix pendingUBUNTU-CVE-2025-58181
Ubuntu 16.04golang-go.cryptoFix pendingUBUNTU-CVE-2025-58181
Ubuntu 16.04google-guest-agentFix pending20240716.00-0ubuntu1~16.04.0+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-58181
Ubuntu 16.04lxdFix pendingUBUNTU-CVE-2025-58181
Ubuntu 16.04snapdFix pendingUBUNTU-CVE-2025-58181
Debian 14golang-go.cryptoFixed1:0.45.0-1DEBIAN-CVE-2025-58181
Debian 13golang-go.cryptoFix pendingDEBIAN-CVE-2025-58181
Debian 12golang-go.cryptoFix pendingDEBIAN-CVE-2025-58181
Red Hat Enterprise Linux 10buildahFix pending
Fix deferred
Red Hat Enterprise Linux 10buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 10gvisor-tap-vsockFix pending
Fix deferred
Red Hat Enterprise Linux 10gvisor-tap-vsock-gvforwarderFix pending
Fix deferred
Red Hat Enterprise Linux 10podmanFix pending
Fix deferred
Red Hat Enterprise Linux 10podman-dockerFix pending
Fix deferred
Red Hat Enterprise Linux 10podman-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 10podman-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9buildahFix pending
Fix deferred
Red Hat Enterprise Linux 9buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9conmonFix pending
Fix deferred
Red Hat Enterprise Linux 9gvisor-tap-vsockFix pending
Fix deferred
Red Hat Enterprise Linux 9gvisor-tap-vsock-gvforwarderFix pending
Fix deferred
Red Hat Enterprise Linux 9podmanFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-catatonitFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-dockerFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-gvproxyFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-pluginsFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9rhcFix pending
Fix deferred
Red Hat Enterprise Linux 9rhc-develFix pending
Fix deferred
Red Hat Enterprise Linux 9toolboxFix pending
Fix deferred
Red Hat Enterprise Linux 9toolbox-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8buildahFix pending
Fix deferred
Red Hat Enterprise Linux 8buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8conmonFix pending
Fix deferred
Red Hat Enterprise Linux 8containers-commonFix pending
Fix deferred
Red Hat Enterprise Linux 8podmanFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-catatonitFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-dockerFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-gvproxyFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-manpagesFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-pluginsFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8rhcFix pending
Fix deferred
Red Hat Enterprise Linux 8skopeoFix pending
Fix deferred
Red Hat Enterprise Linux 8skopeo-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8toolboxFix pending
Fix deferred
Red Hat Enterprise Linux 8toolbox-testsFix pending
Fix deferred
Alpine Linux 3.24etcdFixed3.6.8-r0ALPINE-CVE-2025-58181
Alpine Linux 3.24rcloneFixed1.72.1-r0ALPINE-CVE-2025-58181
Alpine Linux 3.23etcdFixed3.6.8-r0ALPINE-CVE-2025-58181
Alpine Linux 3.23rcloneFixed1.72.1-r0ALPINE-CVE-2025-58181
Go librarygolang.org/x/cryptoFixed0.45.0GO-2025-4134

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.