CVE-2026-39834golang.org/x/crypto vulnerable to infinite loop on large channel writes
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.6% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.6%
- percentile 43%
- Fix
- Named by a source
- CVE published 22 May 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.6% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- golang.org/x/crypto (Go): upgrade to 0.52.0 or later on your release line.
- Patch: https://go.dev/cl/781663
- Advisory: https://pkg.go.dev/vuln/GO-2026-5020
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-39834
Who should check
golang.org/x/crypto (Go) pkg:golang/golang.org/x/crypto
- Affected< 0.52.0Fixed in0.52.0OSV (GO-2026-5020)
golang crypto product:golang/crypto
- Affected< 0.52.0Affected range ends before0.52.0as published by CPE data (via the NVD API)
golang.org/x/crypto golang.org/x/crypto/ssh product:golangorgxcrypto/golangorgxcryptossh
- Affected< 0.52.0Affected range ends before0.52.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 9.1 CRITICAL (version 3.1)
- Score from
- CISA-ADP
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-190
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 22 May 2026Published
References
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-39834 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-rm3j-f69w-wqmq (GitHub Advisory Database), CC BY 4.0.
- GO-2026-5020 (Go Vulnerability Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 25 min ago · osv 25 min ago · nvd 86 min ago · epss 25 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-rm3j-f69w-wqmq, GO-2026-5020