ADVISORIES

Vulnerability

CVE-2026-39834

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.

4596 advisories report this vulnerability, across 11 ecosystems.

Advisories in Go

  • GHSA-rm3j-f69w-wqmq

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

    Critical CVE-2026-39834 Go Updated 10 September 2026
  • GO-2026-5020

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

    CVE-2026-39834 Go Updated 25 November 2026

References