Skip to content
CVE PROGRAM SOURCE RECORD9.1 Critical

CVE-2026-39834

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

golang.org/x/crypto golang.org/x/crypto/ssh

Default version status: unaffected

  • 0 to < 0.52.0affected

References