MEDIUM 5.3 Go

golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption

GHSA-j5w8-q4qc-rx2x · CVE-2025-58181 · GO-2025-4134

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes