FlawAtlas
Search the atlas
CVE-2026-39834 Critical

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

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.

Exploit probability 0.5%
Published May 22, 2026
Required by Not available
Last source change June 25, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

51 explicit affected versions

Go golang.org/x/crypto
Go golang.org/x/crypto

03 / CONNECTIONS

Connected vulnerabilities

related OPENSUSE-SU-2026:21483-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities GHSA-rm3j-f69w-wqmq

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.

View original source
Open Source Vulnerabilities GO-2026-5020

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.

View original source
Open Source Vulnerabilities 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.

View original source

05 / REFERENCES

Further evidence