{"cve":"CVE-2026-39834","nvd":{"published":"2026-05-22T04:16:24.237","modified":"2026-07-23T16:10:00.137","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1},"cwes":["CWE-190"],"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"],"products":["golang:crypto"],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-39834","score":0.00597,"percentile":0.48592,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rm3j-f69w-wqmq","url":"https://osv.dev/vulnerability/GHSA-rm3j-f69w-wqmq","summary":"golang.org/x/crypto vulnerable to infinite loop on large channel writes","modified":"2026-09-10T03:50:50.499928973Z","packages":[{"ecosystem":"Go","name":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","ranges":["<0.52.0"],"fixed":["0.52.0"]}]},{"id":"GO-2026-5020","url":"https://osv.dev/vulnerability/GO-2026-5020","summary":"Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh","modified":"2026-09-22T10:41:48.726876657Z","packages":[{"ecosystem":"Go","name":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","ranges":["<0.52.0"],"fixed":["0.52.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}