CVE-2025-58181
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via unbounded memory consumption in GSSAPI authentication
Overview
Description
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-770
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | golang.org/x/crypto | <0.45.0 | 0.45.0 |
| Seal Go | golang.org/x/crypto | >=0.0.0-20211117183948-ae814b36b871-sp0, <0.0.0-20211117183948-ae814b36b871-sp3>=0.24.0-sp0, <0.24.0-sp3>=0.26.0-sp0, <0.26.0-sp4>=0.31.0-sp0, <0.31.0-sp3>=0.32.0-sp0, <0.32.0-sp3+4 more | 0.0.0-20211117183948-ae814b36b871-sp30.24.0-sp30.26.0-sp40.31.0-sp30.32.0-sp3 |
| Seal Go | sealsecurity.io/golang.org/x/crypto | >=0.0.0-20211117183948-ae814b36b871-sp1, <0.0.0-20211117183948-ae814b36b871-sp3>=0.24.0-sp1, <0.24.0-sp3>=0.26.0-sp1, <0.26.0-sp4>=0.31.0-sp1, <0.31.0-sp3>=0.32.0-sp1, <0.32.0-sp3+4 more | 0.0.0-20211117183948-ae814b36b871-sp30.24.0-sp30.26.0-sp40.31.0-sp30.32.0-sp3 |
Open a package to see all its vulnerabilities.
Operating systems · 1,203 fixes
Red Hat 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | atomic-openshift-service-idler +111 | affected |
| 8 | etcd +12 | affected |
| 8 (container-tools:rhel8) | buildah +15 | affected |
| 9 | buildah +52 | affected |
SUSE Linux Enterprise 6 releases · 21 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | docker-stable +1 | 24.0.9_ce-1.32.1 | SUSE-SU-2026:1118-1 |
| 12.5 | docker +1 | 28.5.1_ce-98.151.1 | SUSE-SU-2026:0772-1 |
| 15.4 | docker-buildx | 0.33.0-150000.250.1 | SUSE-SU-2026:2429-1 |
| 15.4 | terraform-provider-kubernetes | 1.13.2-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| 15.4 | terraform-provider-external | 2.0.0-150200.6.12.1 | SUSE-SU-2026:3056-1 |
| 15.4 | terraform-provider-local | 2.0.0-150200.6.17.1 | SUSE-SU-2026:3056-1 |
42 more rows
SUSE Linux Enterprise Micro 7 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | docker-buildx | 0.29.0-150000.241.2 | SUSE-SU-2026:0666-1 |
| 5.2 | docker | 28.5.1_ce-150000.241.2 | SUSE-SU-2026:0666-1 |
| 5.3 | docker-buildx | 0.29.0-150000.241.2 | SUSE-SU-2026:0666-1 |
| 5.3 | docker | 28.5.1_ce-150000.241.2 | SUSE-SU-2026:0666-1 |
| 5.4 | docker-buildx | 0.29.0-150000.241.2 | SUSE-SU-2026:0666-1 |
| 5.4 | docker | 28.5.1_ce-150000.241.2 | SUSE-SU-2026:0666-1 |
18 more rows
alpine 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rclone | 1.72.1-r0 |
| 3.23 | etcd | 3.6.8-r0 |
| 3.24 | rclone | 1.72.1-r0 |
| 3.24 | etcd | 3.6.8-r0 |
| edge | rclone | 1.72.1-r0 |
| edge | etcd | 3.6.8-r0 |
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | runfinch-finch | 1.10.0-1.amzn2023.0.6 |
| 2023 | amazon-cloudwatch-agent | 1.300062.1-1.amzn2023 |
| 2023 | nerdctl | 2.2.1-1.amzn2023.0.1 |
| 2023 | docker +2 | 25.0.14-1.amzn2023.0.1 |
chainguard 1 release · 573 packages
| Release | Package | Fixed in |
|---|---|---|
| age-fips +339 | not affected | |
| kube-vip-cloud-provider-0-0-10 | 0.0.10-r6 | |
| kube-vip-cloud-provider | 0.0.12-r6 | |
| dagdotdev | 0.0.17-r4 | |
| wireguard-go | 0.0.20250522-r6 | |
| rancher-support-bundle-kit | 0.0.74-r1 |
567 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-go-crypto | affected |
| 12 | golang-go-crypto | affected |
| 13 | golang-go-crypto | affected |
| 14 | golang-go-crypto | 1:0.45.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-go-crypto | affected |
minimos 1 release · 218 packages
| Release | Package | Fixed in |
|---|---|---|
| kube-vip-cloud-provider +1 | 0.0.12-r1 | |
| tw | 0.0.35-r0 | |
| kyverno-reports-server +1 | 0.1.7-r2 | |
| grype | 0.104.0-r1 | |
| falcoctl +1 | 0.11.4-r2 | |
| prometheus-adapter +1 | 0.12.0-r1 |
212 more rows
openSUSE 1 release · 21 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | git-bug +3 | 0.10.1-3.1 | openSUSE-SU-2025:15771-1 |
| Tumbleweed | k3sup | 0.13.14-1.1 | openSUSE-SU-2026:12295-1 |
| Tumbleweed | zk | 0.15.2-1.1 | openSUSE-SU-2025:15841-1 |
| Tumbleweed | docker-stable-buildx | 0.25.0-17.1 | openSUSE-SU-2026:10255-1 |
| Tumbleweed | rz-pm | 0.3.6-1.1 | openSUSE-SU-2026:11781-1 |
| Tumbleweed | mcphost +3 | 0.32.0-1.1 | openSUSE-SU-2026:10042-1 |
15 more rows
openSUSE Leap 1 release · 19 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | git-bug +3 | 0.10.1-bp160.1.1 | openSUSE-SU-2025:20143-1 |
| 16.0 | zk | 0.15.6-bp160.1.1 | openSUSE-SU-2026:21567-1 |
| 16.0 | docker-stable-buildx | 0.25.0-160000.4.1 | openSUSE-SU-2026:20366-1 |
| 16.0 | docker-buildx | 0.29.0-160000.5.1 | openSUSE-SU-2026:20249-1 |
| 16.0 | mcphost +3 | 0.34.0-160000.1.1 | openSUSE-SU-2026:20788-1 |
| 16.0 | vexctl | 0.4.4+git20.5d61136-160000.1.1 | openSUSE-SU-2026:21481-1 |
13 more rows
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | google-guest-agent | 20241011.01-0ubuntu1~18.04.0+esm2 |
| 20.04-ESM | google-guest-agent | 20250116.00-0ubuntu1~20.04.0+esm2 |
| 22.04 | google-guest-agent | 20250116.00-0ubuntu1~22.04.2 |
| 24.04 | google-guest-agent | 20250116.00-0ubuntu1~24.04.3 |
| 26.04 | google-guest-agent | 20250506.01-0ubuntu2 |
wolfi 1 release · 276 packages
| Release | Package | Fixed in |
|---|---|---|
| azure-service-operator +60 | not affected | |
| kube-vip-cloud-provider | 0.0.12-r6 | |
| dagdotdev | 0.0.17-r4 | |
| wireguard-go | 0.0.20250522-r6 | |
| promxy | 0.0.93-r5 | |
| docker-machine-driver-linode | 0.1.15-r7 |
270 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-58181
- github.com https://github.com/golang/crypto/commit/e79546e28b85ea53dd37afe1c4102746ef553b9c
- github.com https://github.com/golang/go/issues/76363
- go.dev https://go.dev/cl/721961
- go.dev https://go.dev/issue/76363
- groups.google.com https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA
- groups.google.com https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA?pli=1
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-58181
- pkg.go.dev https://pkg.go.dev/vuln/GO-2025-4134
- ubuntu.com https://ubuntu.com/security/notices/USN-7956-1
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.