CVE-2025-58181: GO-2025-4134 - Unbounded memory consumption in golang.org/x/crypto/ssh
CVE-2025-58181 · Severity: medium · CVSS 5.3 · Published 2025-11-19
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.
Yes. golang.org/x/crypto (Go): upgrade to 0.45.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-58181?
Check whether you run golang.org/x/crypto (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
golang.org/x/crypto (Go): upgrade to 0.45.0 or later