{"schema_version":"1.7.5","id":"GO-2026-5013","published":"2026-05-22T02:08:34Z","modified":"2026-08-12T10:41:55.174062840Z","aliases":["CVE-2026-46597","GHSA-q4h4-gmj2-qvw2"],"related":["CGA-cq4m-4w9q-pw48","RHSA-2026:51036"],"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.","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"}}],"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"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-5013"},"credits":[{"name":"Maciej Kawka"}]}