golang.org/x/crypto
Affected
- introduced
0, fixed0.52.0(semver)
Fixed versions
0.52.0
Fix
- Fixed version
0.52.0go get golang.org/x/[email protected]
Advisory
Also known as: CVE-2026-39834, GO-2026-5020
golang.org/x/crypto vulnerable to infinite loop on large channel writes
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 0.52.0 (semver)0.52.0
0.52.0go get golang.org/x/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0