CVE-2025-58181

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

State
Published
Severity
5.3 Medium
Published
Nov 19, 2025
Updated
Nov 20, 2025
Reserved
Aug 27, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LCISA-ADP

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
golang.org/x/crypto/sshgolang.org/x/crypto
  • before 0.45.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.