What’s Vulnerable › Vulnerabilities

CVE-2025-58181: Unbounded 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.

Affected products

How to fix

Upgrade to a fixed version: golang.org/x/crypto/ssh 0.45.0; Golang.Org/X/Crypto 0.45.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-58181 or the next vulnerability affects your stack