CVE 9.1 CRITICAL

Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh_CVE-2026-39834

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

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.

AI Analysis

Integer overflow in SSH channel write call causes infinite loop

Basic Information

ID CVE-2026-39834
Source Go
Published May 22, 2026 at 02:31
Modified May 22, 2026 at 18:50

Affected Product

Vendor golang.org/x/crypto
Product golang.org/x/crypto/ssh
Affected Versions golang.org/x/crypto golang.org/x/crypto/ssh 0

AI Assessment

AI Score 9.1 / 10
AI Severity Critical
Vendor The Go Authors
Product golang.org/x/crypto/ssh

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.