CVE-2025-58181golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.8% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.8%
- percentile 52%
- Fix
- Named by a source
- CVE published 19 Nov 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.8% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- golang.org/x/crypto (Go): upgrade to 0.45.0 or later on your release line.
- Patch: https://go.dev/cl/721961
- Advisory: https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA
- Advisory: https://pkg.go.dev/vuln/GO-2025-4134
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-58181
Who should check
golang.org/x/crypto (Go) pkg:golang/golang.org/x/crypto
- Affected< 0.45.0Fixed in0.45.0OSV (GO-2025-4134)
golang crypto product:golang/crypto
- Affected< 0.45.0Affected range ends before0.45.0as published by CPE data (via the NVD API)
golang.org/x/crypto golang.org/x/crypto/ssh product:golangorgxcrypto/golangorgxcryptossh
- Affected< 0.45.0Affected range ends before0.45.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- CISA-ADP
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-770
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 19 Nov 2025Published
References
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-58181 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-j5w8-q4qc-rx2x (GitHub Advisory Database), CC BY 4.0.
- GO-2025-4134 (Go Vulnerability Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 15 min ago · osv 15 min ago · nvd 76 min ago · epss 15 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-j5w8-q4qc-rx2x, GO-2025-4134