CVE-2026-39834
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-22
- Last modified
- 2026-07-23
- Assigned by
- security@golang.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H- Scored by
- 134c704f-9b21-4f2e-91b3-4a467353bcc0
- Probability of exploitation
-
0.5 %
higher than 42 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Golang | Crypto | < 0.52.0 | Affected |
| golang.org/x | crypto (Go) | < 0.52.0 | Affected |
Weakness type
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://go.dev/cl/781663
- https://go.dev/issue/79567
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://pkg.go.dev/vuln/GO-2026-5020
Related at Berigo
Articles
-
New malware looks up its command server in a Polygon smart contract
Same product
2026-09-26
Blackpoint has found ChainScript, a Node.js remote access trojan spread through fake installers for Spotify, Zoom and Teams. Rather than trusting the…
-
Four years in prison for one of Conti's developers
Same product
2026-09-26
Oleksii Oleksiyovych Lytvynenko was sentenced in the United States on 10 September 2026 to four years in prison for his part in the Conti ransomware …
-
The Sality botnet has been disrupted after 23 years
Same product
2026-09-26
US authorities and private partners announced on 1 September 2026 that the infrastructure behind the Sality malware has been disrupted. Sality has be…
-
A language model found an attack that forces HAWK to double its keys
Same product
2026-08-24
On 28 July 2026 Anthropic published two cryptanalytic results found with a language model. Neither has practical significance for systems in operatio…
Services
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.