CVE-2026-39834 Details
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.
An integer overflow vulnerability has been identified in the Go programming language's SSH channel implementation, specifically in the 'golang.org/x/crypto' package, prior to version 0.52.0. When data larger than 4GB is written in a single call, the overflow in the payload size calculation causes the write operation to enter an infinite loop. This loop sends empty packets without making any progress, effectively stalling the operation. The issue has been addressed by modifying the size comparison to use int64, preventing the truncation that led to the overflow.
Users should update to version 0.52.0 or later of the 'golang.org/x/crypto' package.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/781663 | [email protected] | Issue Tracking |
| https://go.dev/issue/79567 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/a082jnz-LvI | [email protected] | Mailing List |
| https://pkg.go.dev/vuln/GO-2026-5020 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang crypto | < 0.52.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | Initial Analysis | [email protected] |
| May 22, 2026 | CVE Modified | CISA-ADP |
| May 22, 2026 | New CVE Received | [email protected] |