CVE-2026-46597: Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
Other sources
Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/golang.org/x/crypto/sshto a version that resolves this vulnerability.Fixed in 0.52.0 - Upgrade
Upgrade
azurelinux/kubernetesto a version that resolves this vulnerability.Fixed in 1.30.10-25 - Upgrade
Upgrade
azurelinux/moby-engineto a version that resolves this vulnerability.Fixed in 25.0.3-18 - Upgrade
Upgrade
azurelinux/packerto a version that resolves this vulnerability.Fixed in 1.9.5-14 - Upgrade
Upgrade
azurelinux/cert-managerto a version that resolves this vulnerability.Fixed in 1.12.15-8 - Upgrade
Upgrade
azurelinux/ghto a version that resolves this vulnerability.Fixed in 2.62.0-16 - Upgrade
Upgrade
azurelinux/telegrafto a version that resolves this vulnerability.Fixed in 1.31.0-21 - Upgrade
Upgrade
azurelinux/cf-clito a version that resolves this vulnerability.Fixed in 8.7.11-6 - Upgrade
Upgrade
azurelinux/docker-buildxto a version that resolves this vulnerability.Fixed in 0.14.0-13 - Upgrade
Upgrade
azurelinux/kubevirtto a version that resolves this vulnerability.Fixed in 1.7.1-5 - Upgrade
Upgrade
azurelinux/docker-composeto a version that resolves this vulnerability.Fixed in 2.27.0-11
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46597?
CVE-2026-46597 has a risk level of 40, indicating a moderate severity vulnerability.
How do I fix CVE-2026-46597?
To mitigate CVE-2026-46597, update to the latest version of golang.org/x/crypto/ssh that addresses this vulnerability.
What causes CVE-2026-46597?
CVE-2026-46597 is caused by an incorrectly placed cast from bytes to int in the AES-GCM packet decoder.
What impact does CVE-2026-46597 have on its users?
CVE-2026-46597 can lead to a server-side panic, which affects the stability and security of applications using the library.
Is CVE-2026-46597 exploitable?
Yes, well-crafted inputs can exploit CVE-2026-46597 to trigger an underflow and invoke a panic in the application.