CVE-2025-58181
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.77% (higher than 52% of CVEs)
Published
Last changed
Assigned by
Go
Also known as
GHSA-j5w8-q4qc-rx2xGO-2025-4134

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

Product or packageVersionsReported by
golang.org/x/crypto/sshbefore 0.45.0CVE List
golang.org/x/crypto (Go)before 0.45.0GitHub Advisory Database, Go Vulnerability Database
golang cryptobefore 0.45.0NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-770CWE-1284

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Servidores SSH que analizan las solicitudes de autenticación GSSAPI no validan el número de mecanismos especificados en la solicitud, permitiendo a un atacante causar un consumo de memoria ilimitado.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-58181 changed 2025-11-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-j5w8-q4qc-rx2x changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4134 changed 2026-05-15CC-BY-4.0
NVDCVE-2025-58181 changed 2026-10-18Public domain