golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
02 / AFFECTED SOFTWARE
Affected packages
51 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
05 / REFERENCES
Further evidence
- https://cs.opensource.google/go/x/crypto
- https://go.dev/cl/781620
- https://go.dev/issue/79561
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://nvd.nist.gov/vuln/detail/CVE-2026-46597
- https://pkg.go.dev/vuln/GO-2026-5013
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46597.json
- https://pkg.go.dev