CVE-2025-58181
Unbounded memory consumption in golang.org/x/crypto/ssh
SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.
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:59:58.648Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:41.864Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:36.954Z | OSV |
| affected | verified | 2026-11-19T12:57:40.433Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:40.433Z | CVE Program |
Affected versions and configuration
golang.org/x/crypto golang.org/x/crypto/ssh; default status: unaffected: 0 to < 0.45.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.45.0",
"versionType": "semver"
}
],
"packageName": "golang.org/x/crypto/ssh",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "parseGSSAPIPayload"
},
{
"name": "NewServerConn"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "LOW",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-58181",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-11-19T20:49:06.918113Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-770",
"description": "CWE-770 Allocation of Resources Without Limits or Throttling"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-11-19T20:49:26.800Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-j5w8-q4qc-rx2x",
"aliases": [
"CVE-2025-58181",
"GO-2025-4134"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.45.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/2025/11/GHSA-j5w8-q4qc-rx2x/GHSA-j5w8-q4qc-rx2x.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-58181",
"type": "ADVISORY"
},
{
"url": "https://go.dev/cl/721961",
"type": "WEB"
},
{
"url": "https://go.dev/issue/76363",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/vuln/GO-2025-4134",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-770"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-11-19T21:15:50Z",
"github_reviewed_at": "2025-11-19T23:01:20Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2025-4134",
"aliases": [
"CVE-2025-58181",
"GHSA-j5w8-q4qc-rx2x"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.45.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-2025-4134.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/crypto/ssh",
"symbols": [
"NewServerConn",
"parseGSSAPIPayload"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA",
"type": "ADVISORY"
},
{
"url": "https://go.dev/cl/721961",
"type": "FIX"
},
{
"url": "https://go.dev/issue/76363",
"type": "REPORT"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2025-4134",
"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.45.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: 2025-11-19T23:01:20.000Z
Source modification: 2026-09-10T03:50:30.983ZDocument fingerprint
a32426225c1cf2a1ef21f83f6d667c7e3375c73249acdd2713963004c67fad7d - OSVConsulted: 2026-11-19T12:52:36.954ZArchived source JSON
Source publication: 2025-11-19T20:11:57.000Z
Source modification: 2026-05-15T10:59:24.784ZDocument fingerprint
a32426225c1cf2a1ef21f83f6d667c7e3375c73249acdd2713963004c67fad7d - CVE ProgramConsulted: 2026-11-19T12:57:40.433ZArchived source JSON
Source publication: 2025-11-19T20:33:42.795Z
Source modification: 2025-11-20T17:14:59.856ZDocument fingerprint
f5d890cab0d4f7a27e7696fb635d82fcc66f8fae0445640a0605e51565d78271 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:41.864ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
09df03f9e4ac0890671b481adc15352105826dd59b4f13294f3708bead65ab2a
Official status history
- UNKNOWN → PUBLISHED · · evidence