GO-2026-5017

Source
https://pkg.go.dev/vuln/GO-2026-5017
Import Source
https://vuln.go.dev/ID/GO-2026-5017.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2026-5017
Aliases
Downstream
Related
Published
2026-05-22T02:08:34Z
Modified
2026-05-27T04:29:15.162456343Z
Summary
Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
Details

A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop. The blocked goroutine could not be released by calling Close(), resulting in a resource leak per connection. Unsolicited global responses are now discarded.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5017",
    "review_status": "REVIEWED"
}
References
Credits
    • NCC Group Cryptography Services, sponsored by Teleport

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.52.0

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "Client.Listen",
                "Client.ListenTCP",
                "Client.ListenUnix",
                "Dial",
                "NewClientConn",
                "NewServerConn",
                "Session.CombinedOutput",
                "Session.Output",
                "Session.RequestPty",
                "Session.RequestSubsystem",
                "Session.Run",
                "Session.SendRequest",
                "Session.Setenv",
                "Session.Shell",
                "Session.Signal",
                "Session.Start",
                "Session.WindowChange",
                "channel.SendRequest",
                "channel.handlePacket",
                "mux.SendRequest",
                "mux.handleGlobalPacket",
                "tcpListener.Close",
                "unixListener.Close"
            ],
            "path": "golang.org/x/crypto/ssh"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5017.json"