Description (CNA)
When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal payload size calculation caused the write loop to spin indefinitely, sending empty packets without making progress. The size comparison now uses int64 to prevent truncation.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| golang.org/x/crypto / golang.org/x/crypto/ssh | affected 0 before 0.52.0 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/issue/79567
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://go.dev/cl/781663
- https://pkg.go.dev/vuln/GO-2026-5020
ADP enrichment
No English description supplied.
No references supplied.