# CVE-2026-46597: Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 33% of CVEs (2026-11-30)
- Published: 2026-05-22T02:08:34.000Z
- Modified: 2026-11-25T10:42:41.009Z
- Also known as: GHSA-q4h4-gmj2-qvw2, GO-2026-5013
- Related: RHSA-2026:102514, RHSA-2026:102524, RHSA-2026:102526, RHSA-2026:102529, RHSA-2026:102708, RHSA-2026:102902, RHSA-2026:102905, RHSA-2026:51036, RHSA-2026:67450, RHSA-2026:68334, RHSA-2026:97533, RHSA-2026:97578
- Weaknesses: CWE-191, CWE-704
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## Description

An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.

(As written by CVE List.)

## Affected

- golang.org/x/crypto/ssh: before 0.52.0
- golang.org/x/crypto (Go): before 0.52.0
- golang crypto: before 0.52.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-46597](https://www.cve.org/CVERecord?id=CVE-2026-46597), CVE Terms of Use, modified 2026-05-22
- GitHub Advisory Database: [GHSA-q4h4-gmj2-qvw2](https://github.com/advisories/GHSA-q4h4-gmj2-qvw2), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5013](https://pkg.go.dev/vuln/GO-2026-5013), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-46597](https://nvd.nist.gov/vuln/detail/CVE-2026-46597), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-46597 · Whole record: https://cve.day/CVE-2026-46597.json · Rebuilt by cve.day 2026-11-25T22:59:22.164Z
