Ubuntu CVE Tracker
UBUNTU-CVE-2025-58181
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | google-guest-agent | All versions before 20240716.00-0ubuntu1~16.04.0+esm2 (fixed in 20240716.00-0ubuntu1~16.04.0+esm2) |
| Ubuntu:Pro:16.04:LTS | golang-go.crypto | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | lxd | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | lxd | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-go.crypto | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | google-guest-agent | All versions before 20241011.01-0ubuntu1~18.04.0+esm2 (fixed in 20241011.01-0ubuntu1~18.04.0+esm2) |
| Ubuntu:Pro:20.04:LTS | google-guest-agent | All versions before 20250116.00-0ubuntu1~20.04.0+esm2 (fixed in 20250116.00-0ubuntu1~20.04.0+esm2) |
| Ubuntu:Pro:20.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | golang-go.crypto | All versions, no fix listed |
| Ubuntu:22.04:LTS | google-guest-agent | All versions before 20250116.00-0ubuntu1~22.04.2 (fixed in 20250116.00-0ubuntu1~22.04.2) |
| Ubuntu:22.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | golang-go.crypto | All versions, no fix listed |
| Ubuntu:24.04:LTS | google-guest-agent | All versions before 20250116.00-0ubuntu1~24.04.3 (fixed in 20250116.00-0ubuntu1~24.04.3) |
| Ubuntu:24.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:Pro:24.04:LTS | golang-go.crypto | All versions, no fix listed |
| Ubuntu:25.10 | golang-go.crypto | All versions, no fix listed |
| Ubuntu:25.10 | google-guest-agent | All versions before 20250506.01-0ubuntu1.1 (fixed in 20250506.01-0ubuntu1.1) |
| Ubuntu:25.10 | snapd | All versions, no fix listed |
| Ubuntu:26.10 | golang-go.crypto | All versions, no fix listed |
| Ubuntu:26.10 | google-guest-agent | All versions before 20250506.01-0ubuntu2 (fixed in 20250506.01-0ubuntu2) |
| Ubuntu:26.10 | snapd | All versions, no fix listed |
| Ubuntu:26.04:LTS | google-guest-agent | All versions before 20250506.01-0ubuntu2 (fixed in 20250506.01-0ubuntu2) |
| Ubuntu:26.04:LTS | snapd | All versions, no fix listed |
| Ubuntu:Pro:26.04:LTS | golang-go.crypto | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-58181
- https://www.cve.org/CVERecord?id=CVE-2025-58181
- https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA?pli=1
- https://github.com/golang/go/issues/76363
- https://go.dev/cl/721961
- https://go.dev/issue/76363
- https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA
- https://pkg.go.dev/vuln/GO-2025-4134
- https://github.com/golang/crypto/commit/e79546e28b85ea53dd37afe1c4102746ef553b9c
- https://ubuntu.com/security/notices/USN-7956-1