CVE-2026-39834
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS Trends
Current EPSS score: 0.47%• Percentile: 37%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- golang•crypto
< 0.52.0
- golang.org/x•crypto
< 0.52.0
- golang.org/x/crypto•ssh
< 0.52.0
- golang.org/x/crypto•golang.org/x/crypto/ssh
< 0.52.0