NetSight
medium5.3

CVE-2025-58181

golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption

Impact

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

EcosystemPackageAffectedFixed in
gogolang.org/x/crypto< 0.45.00.45.0

Affected products

VendorProductAffected versions
GolangCrypto
before 0.45.0

Weakness classification

References