9.1Critical

CVE-2026-39834Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh

golang.org/x/crypto golang.org/x/crypto/ssh Published: (5 months ago)

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.

Weakness (CWE): CWE-190

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
golang crypto < 0.52.0
golang.org/x/crypto golang.org/x/crypto/ssh < 0.52.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* < 0.52.0