GO-2025-4134

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

At a glance

Published
Updated
CVE
CVE-2025-58181
Aliases
GHSA-j5w8-q4qc-rx2x

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 packages

PackageVersions
Go · golang.org/x/cryptointroduced 0, fixed 0.45.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database