CVE-2026-39834
Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.597% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:49.616Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:36.954Z | OSV |
| affected | verified | 2026-11-19T12:58:28.588Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:28.588Z | CVE Program |
Affected versions and configuration
golang.org/x/crypto golang.org/x/crypto/ssh; default status: unaffected: 0 to < 0.52.0 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "golang.org/x/crypto",
"product": "golang.org/x/crypto/ssh",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.52.0",
"versionType": "semver"
}
],
"packageName": "golang.org/x/crypto/ssh",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"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"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.1,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-39834",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-05-22T18:50:30.848292Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-22T18:50:51.339Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-rm3j-f69w-wqmq",
"aliases": [
"CVE-2026-39834",
"GO-2026-5020"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.52.0"
}
]
}
],
"package": {
"name": "golang.org/x/crypto",
"purl": "pkg:golang/golang.org/x/crypto",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-rm3j-f69w-wqmq/GHSA-rm3j-f69w-wqmq.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39834",
"type": "ADVISORY"
},
{
"url": "https://cs.opensource.google/go/x/crypto",
"type": "PACKAGE"
},
{
"url": "https://go.dev/cl/781663",
"type": "WEB"
},
{
"url": "https://go.dev/issue/79567",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/golang-announce/c/a082jnz-LvI",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-5020",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-190"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2026-05-22T04:16:24Z",
"github_reviewed_at": "2026-06-25T22:21:40Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2026-5020",
"aliases": [
"CVE-2026-39834",
"GHSA-rm3j-f69w-wqmq"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.52.0"
}
]
}
],
"package": {
"name": "golang.org/x/crypto",
"purl": "pkg:golang/golang.org/x/crypto",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-5020.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/crypto/ssh",
"symbols": [
"Dial",
"NewClientConn",
"NewServerConn",
"Session.CombinedOutput",
"Session.Output",
"Session.Run",
"Session.Shell",
"Session.Start",
"channel.Write",
"channel.WriteExtended",
"curve25519sha256.Client",
"curve25519sha256.Server",
"dhGEXSHA.Client",
"dhGEXSHA.Server",
"dhGroup.Client",
"dhGroup.Server",
"ecdh.Client",
"ecdh.Server",
"extChannel.Write",
"mlkem768WithCurve25519sha256.Client",
"mlkem768WithCurve25519sha256.Server"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/issue/79567",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/a082jnz-LvI",
"type": "WEB"
},
{
"url": "https://go.dev/cl/781663",
"type": "FIX"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-5020",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | golang.org/x/crypto | Not a distribution channel | 0.52.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:36.954ZArchived source JSON
Source publication: 2026-06-25T22:21:40.000Z
Source modification: 2026-09-10T03:50:50.499ZDocument fingerprint
a32426225c1cf2a1ef21f83f6d667c7e3375c73249acdd2713963004c67fad7d - OSVConsulted: 2026-11-19T12:52:36.954ZArchived source JSON
Source publication: 2026-05-22T02:08:34.000Z
Source modification: 2026-11-14T13:12:14.800ZDocument fingerprint
a32426225c1cf2a1ef21f83f6d667c7e3375c73249acdd2713963004c67fad7d - CVE ProgramConsulted: 2026-11-19T12:58:28.588ZArchived source JSON
Source publication: 2026-05-22T02:31:27.540Z
Source modification: 2026-05-22T18:50:51.339ZDocument fingerprint
d836c9ef893538581f0d506f9bee26b23c42286c37acbd174fb05121b2aa245c - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:49.616ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
21dd983f00e8645324096731e4fb75be5ea39aa4a58a565c80b67996d366740e
Official status history
- UNKNOWN → PUBLISHED · · evidence