{"api_version":"1","generated_at":"2026-05-28T16:29:34+00:00","cve":"CVE-2026-39834","urls":{"html":"https://cve.report/CVE-2026-39834","api":"https://cve.report/api/cve/CVE-2026-39834.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-39834","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-39834"},"summary":{"title":"Invoking  infinite loop on large channel writes in golang.org/x/crypto/ssh","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.","state":"PUBLISHED","assigner":"Go","published_at":"2026-05-22 04:16:24","updated_at":"2026-05-28 15:03:47"},"problem_types":["CWE-190","CWE-190: Integer Overflow or Wraparound"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"}}],"references":[{"url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI","name":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI","refsource":"security@golang.org","tags":["Mailing List"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/issue/79567","name":"https://go.dev/issue/79567","refsource":"security@golang.org","tags":["Issue Tracking"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/cl/781663","name":"https://go.dev/cl/781663","refsource":"security@golang.org","tags":["Issue Tracking"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://pkg.go.dev/vuln/GO-2026-5020","name":"https://pkg.go.dev/vuln/GO-2026-5020","refsource":"security@golang.org","tags":["Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-39834","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39834","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh","version":"affected 0.52.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"NCC Group Cryptography Services, sponsored by Teleport","lang":"en"}],"nvd_cpes":[{"cve_year":"2026","cve_id":"39834","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"golang","cpe5":"crypto","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"39834","cve":"CVE-2026-39834","epss":"0.000420000","percentile":"0.128120000","score_date":"2026-05-27","updated_at":"2026-05-28 00:02:13"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-39834","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-05-22T18:50:30.848292Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-05-22T18:50:51.339Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"golang.org/x/crypto/ssh","product":"golang.org/x/crypto/ssh","programRoutines":[{"name":"channel.WriteExtended"},{"name":"Dial"},{"name":"NewClientConn"},{"name":"NewServerConn"},{"name":"Session.CombinedOutput"},{"name":"Session.Output"},{"name":"Session.Run"},{"name":"Session.Shell"},{"name":"Session.Start"},{"name":"channel.Write"},{"name":"curve25519sha256.Client"},{"name":"curve25519sha256.Server"},{"name":"dhGEXSHA.Client"},{"name":"dhGEXSHA.Server"},{"name":"dhGroup.Client"},{"name":"dhGroup.Server"},{"name":"ecdh.Client"},{"name":"ecdh.Server"},{"name":"extChannel.Write"},{"name":"mlkem768WithCurve25519sha256.Client"},{"name":"mlkem768WithCurve25519sha256.Server"}],"vendor":"golang.org/x/crypto","versions":[{"lessThan":"0.52.0","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","value":"NCC Group Cryptography Services, sponsored by Teleport"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"CWE-190: Integer Overflow or Wraparound","lang":"en"}]}],"providerMetadata":{"dateUpdated":"2026-05-22T02:31:27.540Z","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go"},"references":[{"url":"https://go.dev/issue/79567"},{"url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI"},{"url":"https://go.dev/cl/781663"},{"url":"https://pkg.go.dev/vuln/GO-2026-5020"}],"title":"Invoking  infinite loop on large channel writes in golang.org/x/crypto/ssh"}},"cveMetadata":{"assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","assignerShortName":"Go","cveId":"CVE-2026-39834","datePublished":"2026-05-22T02:31:27.540Z","dateReserved":"2026-04-07T18:13:03.529Z","dateUpdated":"2026-05-22T18:50:51.339Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-22 04:16:24","lastModifiedDate":"2026-05-28 15:03:47","problem_types":["CWE-190","CWE-190: Integer Overflow or Wraparound"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.2}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*","versionEndExcluding":"0.52.0","matchCriteriaId":"D540395B-31B8-4B07-8F79-F5C631BBD5C8"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"39834","Ordinal":"1","Title":"Invoking  infinite loop on large channel writes in golang.org/x/","CVE":"CVE-2026-39834","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"39834","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Invoking  infinite loop on large channel writes in golang.org/x/"}]}}}