{"id":"GO-2025-4134","summary":"Unbounded memory consumption in golang.org/x/crypto/ssh","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.","aliases":["CVE-2025-58181","GHSA-j5w8-q4qc-rx2x"],"modified":"2026-03-18T23:14:14.109590Z","published":"2025-11-19T20:11:57Z","related":["CGA-r6rp-rr52-3cqp"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-4134","review_status":"REVIEWED"},"references":[{"type":"ADVISORY","url":"https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA"},{"type":"FIX","url":"https://go.dev/cl/721961"},{"type":"REPORT","url":"https://go.dev/issue/76363"}],"affected":[{"package":{"name":"golang.org/x/crypto","ecosystem":"Go","purl":"pkg:golang/golang.org/x/crypto"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.45.0"}]}],"ecosystem_specific":{"imports":[{"symbols":["NewServerConn","parseGSSAPIPayload"],"path":"golang.org/x/crypto/ssh"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-4134.json"}}],"schema_version":"1.7.5","credits":[{"name":"Jakub Ciolek"}]}