CVE-2026-46597
7.5high
Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.47% (higher than 33% of CVEs)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GHSA-q4h4-gmj2-qvw2GO-2026-5013
Description
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| golang.org/x/crypto/ssh | before 0.52.0 | CVE List |
| golang.org/x/crypto (Go) | before 0.52.0 | GitHub Advisory Database, Go Vulnerability Database |
| golang crypto | before 0.52.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
NVD (es)
Una conversión de tipo (cast) incorrectamente ubicada de bytes a int permitió un pánico del lado del servidor en el decodificador de paquetes AES-GCM para entradas bien elaboradas.
References
| https://go.dev/issue/79561 | issue-tracking, report, web | |
| https://groups.google.com/g/golang-announce/c/a082jnz-LvI | mailing-list, web | |
| https://go.dev/cl/781620 | fix, issue-tracking, web | |
| https://pkg.go.dev/vuln/GO-2026-5013 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-46597 | advisory | |
| https://cs.opensource.google/go/x/crypto | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46597 changed 2026-05-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q4h4-gmj2-qvw2 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5013 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-46597 changed 2026-07-23 | Public domain |