ADVISORIES

Go Vulnerability Database

GO-2025-4134

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.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
All versions before 0.45.0 (fixed in 0.45.0)

References