ADVISORIES

Go Vulnerability Database

GO-2026-5013

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 packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
All versions before 0.52.0 (fixed in 0.52.0)

References