CVE-2026-39834CRITICALCVSS 9.1

golang.org/x/crypto/ssh vulnerable to infinite loop on large channel writes

Published Jun 25, 2026·Updated Jun 25, 2026

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 Packages (1)

golang.org/x/crypto/sshGO
Fixed in 0.52.0

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References

View on NVD Search GitHub Search Google

Get alerted for CVEs like this

Register your stack and get notified within minutes when a matching CVE drops.

Start monitoring free