GO-2025-4134

Source
https://pkg.go.dev/vuln/GO-2025-4134
Import Source
https://vuln.go.dev/ID/GO-2025-4134.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2025-4134
Aliases
Published
2025-11-19T20:11:57Z
Modified
2025-11-19T23:42:49.143732Z
Summary
CVE-2025-58181 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.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2025-4134",
    "review_status": "REVIEWED"
}
References
Credits
    • Jakub Ciolek

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

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/crypto/ssh",
            "symbols": [
                "NewServerConn",
                "parseGSSAPIPayload"
            ]
        }
    ],
    "custom_ranges": [
        {
            "events": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.45.0"
                }
            ],
            "type": "ECOSYSTEM"
        }
    ]
}