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.
References
| Link | Resource |
|---|---|
| https://go.dev/cl/781663 | Issue Tracking |
| https://go.dev/issue/79567 | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/a082jnz-LvI | Mailing List |
| https://pkg.go.dev/vuln/GO-2026-5020 | Vendor Advisory |
Configurations
History
28 May 2026, 15:03
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-190 | |
| References | () https://go.dev/cl/781663 - Issue Tracking | |
| References | () https://go.dev/issue/79567 - Issue Tracking | |
| References | () https://groups.google.com/g/golang-announce/c/a082jnz-LvI - Mailing List | |
| References | () https://pkg.go.dev/vuln/GO-2026-5020 - Vendor Advisory | |
| First Time |
Golang crypto
Golang |
|
| CPE | cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* |
22 May 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.1 |
22 May 2026, 04:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-22 04:16
Updated : 2026-05-28 15:03
NVD link : CVE-2026-39834
Mitre link : CVE-2026-39834
CVE.ORG link : CVE-2026-39834
JSON object : View
Products Affected
golang
- crypto
CWE
CWE-190
Integer Overflow or Wraparound
