{"id":"GO-2026-5013","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.","aliases":["CVE-2026-46597"],"modified":"2026-05-22T02:30:16.256710409Z","published":"2026-05-22T02:08:34Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-5013"},"references":[{"type":"REPORT","url":"https://go.dev/issue/79561"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI"},{"type":"FIX","url":"https://go.dev/cl/781620"}],"affected":[{"package":{"name":"golang.org/x/crypto","ecosystem":"Go","purl":"pkg:golang/golang.org/x/crypto"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.52.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/crypto/ssh","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"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5013.json"}}],"schema_version":"1.7.5","credits":[{"name":"Maciej Kawka"}]}