5.3Medium
CVE-2025-58181Unbounded memory consumption in golang.org/x/crypto/ssh
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| golang | crypto | < 0.45.0 | |
| golang.org/x/crypto | golang.org/x/crypto/ssh | < 0.45.0 |
References and patches
- https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA Mailing List
- https://go.dev/cl/721961 Patch
- https://go.dev/issue/76363 Issue Tracking
- https://pkg.go.dev/vuln/GO-2025-4134 Vendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*< 0.45.0