CVE-2026-39834: golang.org/x/crypto vulnerable to infinite loop on large channel writes
(updated )
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
Code Behaviors & Features
Detect and mitigate CVE-2026-39834 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →