{"id":"CVE-2026-39834","published":"2026-05-22T02:31:27Z","modified":"2026-05-22T18:50:51Z","title":"Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh","vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00597,"percentile":0.49515,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/79567","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI","tags":[]},{"url":"https://go.dev/cl/781663","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-5020","tags":[]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.9},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"golang-org-x-crypto","affectedVersions":[{"vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh","versions":["< 0.52.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-22T18:50:30.848292Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"golang.org/x/crypto","vulnerableRanges":["<0.52.0"],"patched":["0.52.0"],"from":["GHSA-rm3j-f69w-wqmq","GO-2026-5020"],"provenance":"source"}],"summary":{"text":"The flaw is an integer overflow in the golang.org/x/crypto/ssh package, in the internal payload size calculation used when writing data to an SSH channel. Writes larger than 4GB in a single Write call cause the write loop to spin indefinitely, sending empty packets without making progress. The configuration conditions are not specified beyond the application issuing a single Write call larger than 4GB.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:25Z"},"euvd":{"id":"EUVD-2026-31400","exploited":false,"provenance":"source"}}