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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j5w8-q4qc-rx2x golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 20 Nov 2025 17:30:00 +0000

Type Values Removed Values Added
Title CVE-2025-58181 in golang.org/x/crypto/ssh Unbounded memory consumption in golang.org/x/crypto/ssh

Wed, 19 Nov 2025 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 19 Nov 2025 20:45:00 +0000

Type Values Removed Values Added
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.
Title CVE-2025-58181 in golang.org/x/crypto/ssh
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2025-11-20T17:14:59.856Z

Reserved: 2025-08-27T14:50:58.691Z

Link: CVE-2025-58181

cve-icon Vulnrichment

Updated: 2025-11-19T20:48:46.369Z

cve-icon NVD

Status : Received

Published: 2025-11-19T21:15:50.850

Modified: 2025-11-19T21:15:50.850

Link: CVE-2025-58181

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.