CVE-2026-39834: Vulnerability in Golang Crypto
Critical. 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.
Go, CWE-190
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-rm3j-f69w-wqmq
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Weakness
- CWE-190
- Published
- 22 May 2026
- Last change
- 23 Jul 2026
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Golang Crypto Before 0.52.0. Fixed in 0.52.0
Affected packages
Vulnerable version ranges and fixed releases
- golang.org/x/crypto Go, Affected before 0.52.0. Fixed in 0.52.0
Advisories
Vendor and security advisories
- go.dev/cl/781663
- go.dev/issue/79567
- groups.google.com/g/golang-announce/c/a082jnz-LvI
- pkg.go.dev/vuln/GO-2026-5020
Related
- Crypto vulnerabilities Recent advisories, watch this product