VulnWatch by ve1ve2
critical 9.1 EPSS 0.60%

GO-2026-5020: Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
google golang.org/x/crypto

https://osv.dev/vulnerability/GO-2026-5020 ↗

osvgofix-available

Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh 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: Go:golang.org/x/crypto Fixed in: 0.52.0 References: https://go.dev/issue/79567 https://groups.google.com/g/golang-announce/c/a082jnz-LvI https://go.dev/cl/781663

Linked vulnerabilities (2)

CVE-2026-39834 critical 9.1 EPSS 0.60% (p50) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh

CWE: CWE-190Aliases: GHSA-rm3j-f69w-wqmqNVD: Analyzed

Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh

Aliases: CVE-2026-39834