Advisory

GO-2025-4134

Also known as: CVE-2025-58181, GHSA-j5w8-q4qc-rx2x

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-11-19 20:11 UTC
Modified
2026-05-15 10:59 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.45.0 (semver)

Fixed versions

0.45.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences