5.3Medium

CVE-2025-58181Unbounded memory consumption in golang.org/x/crypto/ssh

golang.org/x/crypto golang.org/x/crypto/ssh Published: (12 months ago)

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.

Weakness (CWE): CWE-1284CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
golang crypto < 0.45.0
golang.org/x/crypto golang.org/x/crypto/ssh < 0.45.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* < 0.45.0