Skip to main content
← All vulnerabilities
CVE-2025-58181GHSA-J5W8-Q4QC-RX2XGO-2025-4134

Unbounded memory consumption in golang.org/x/crypto/ssh

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.45.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • golang.org/x/crypto/ssh

    fixed in 0.45.0

  • golang.org/x/cryptoGo

    fixed in 0.45.0

References 4

groups.google.com

go.dev

pkg.go.dev