GO-2026-5013

Source
https://pkg.go.dev/vuln/GO-2026-5013
Import Source
https://vuln.go.dev/ID/GO-2026-5013.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5013
Aliases
  • CVE-2026-46597
Published
2026-05-22T02:08:34Z
Modified
2026-05-22T02:30:16.256710409Z
Summary
Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
Details

An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5013",
    "review_status": "REVIEWED"
}
References
Credits
    • Maciej Kawka

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": [
                "Dial",
                "NewClientConn",
                "NewServerConn",
                "curve25519sha256.Client",
                "curve25519sha256.Server",
                "dhGEXSHA.Client",
                "dhGEXSHA.Server",
                "dhGroup.Client",
                "dhGroup.Server",
                "ecdh.Client",
                "ecdh.Server",
                "gcmCipher.readCipherPacket",
                "mlkem768WithCurve25519sha256.Client",
                "mlkem768WithCurve25519sha256.Server"
            ],
            "path": "golang.org/x/crypto/ssh"
        }
    ]
}

Database specific

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