GHSA-rm3j-f69w-wqmq
Dashboard / Vulnerabilities / GHSA-rm3j-f69w-wqmq
GHSA-rm3j-f69w-wqmq
Summary: golang.org/x/crypto vulnerable to infinite loop on large channel writes
Details: 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: https://nvd.nist.gov/vuln/detail/CVE-2026-39834, https://cs.opensource.google/go/x/crypto, https://go.dev/cl/781663, https://go.dev/issue/79567, https://groups.google.com/g/golang-announce/c/a082jnz-LvI, https://pkg.go.dev/vuln/GO-2026-5020
Affected packages
Package
Name: golang.org/x/crypto
Purl: pkg:golang/golang.org/x/crypto
Affected ranges
Type: SEMVER
Events:
