Skip to content
9.1 Critical

CVE-2026-39834 When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal…

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 and versions

Product Affected versions Fixed in
golang.org/x/crypto/ssh 0.52 earliest → < 0.52.0 0.52.0

References

Timeline

  1. Published
  2. Last modified
The 15 CVEs of golang.org/x/crypto/ssh →
Track this CVE