{"affected": [{"affectedData": [{"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"}]}], "source": "security@golang.org"}], "configurations": [{"nodes": [{"cpeMatch": [{"criteria": "cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*", "matchCriteriaId": "D540395B-31B8-4B07-8F79-F5C631BBD5C8", "versionEndExcluding": "0.52.0", "vulnerable": true}], "negate": false, "operator": "OR"}]}], "cveTags": [], "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."}, {"lang": "es", "value": "Al escribir datos mayores de 4 GB en una sola llamada Write en un canal SSH, un desbordamiento de entero en el c\u00e1lculo interno del tama\u00f1o de la carga \u00fatil hizo que el bucle de escritura girara indefinidamente, enviando paquetes vac\u00edos sin avanzar. La comparaci\u00f3n de tama\u00f1o ahora usa int64 para evitar la truncaci\u00f3n."}], "id": "CVE-2026-39834", "lastModified": "2026-07-23T16:10:00.137", "metrics": {"cvssMetricV31": [{"cvssData": {"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"}, "exploitabilityScore": 3.9, "impactScore": 5.2, "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary"}], "ssvcV203": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "ssvcData": {"id": "CVE-2026-39834", "options": [{"exploitation": "none"}, {"automatable": "yes"}, {"technicalImpact": "partial"}], "role": "CISA Coordinator", "timestamp": "2026-05-22T18:50:30.848292Z", "version": "2.0.3"}}]}, "published": "2026-05-22T04:16:24.237", "references": [{"source": "security@golang.org", "tags": ["Issue Tracking"], "url": "https://go.dev/cl/781663"}, {"source": "security@golang.org", "tags": ["Issue Tracking"], "url": "https://go.dev/issue/79567"}, {"source": "security@golang.org", "tags": ["Mailing List"], "url": "https://groups.google.com/g/golang-announce/c/a082jnz-LvI"}, {"source": "security@golang.org", "tags": ["Vendor Advisory"], "url": "https://pkg.go.dev/vuln/GO-2026-5020"}], "sourceIdentifier": "security@golang.org", "vulnStatus": "Analyzed", "weaknesses": [{"description": [{"lang": "en", "value": "CWE-190"}], "source": "nvd@nist.gov", "type": "Primary"}]}