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.

Published: 2025-11-19 Last update: 2025-12-11 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-58181 is rated Low Risk (25.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-58181

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-17 0.06% 0.04% -0.03%
2 2025-11-21 0.20% 0.06% -0.14%
3 2025-11-20 0.20%

Full EPSS history (3 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-58181

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 1.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2025-58181

GitHub Security Advisory for CVE-2025-58181

GHSA-j5w8-q4qc-rx2x · Severity: medium · Ecosystem: go — golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption

OS Trackers for CVE-2025-58181

vendor priority summary link
alpine CVE-2025-58181: 1 source package rows (rclone); 2 state rows across 2 repos (3.23-community, edge-community); fixed 2, open 0. https://security.alpinelinux.org/vuln/CVE-2025-58181
debian not yet assigned CVE-2025-58181 not yet assigned priority: Debian including 1 source packages (golang-go.crypto), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2025-58181
redhat medium https://access.redhat.com/security/cve/CVE-2025-58181
suse medium CVE-2025-58181 severity moderate: SUSE including 429 source package names (1.1.0-1.4:trivy-0.68.2-150000.1.9.1, 13.2-9.11:libsolv-tools-base-0.7.34-1.1, …), 876 product×package rows across 100 product lines (Container private-registry/harbor-trivy-adapter, Container suse/sl-micro/6.0/baremetal-os-container, … (100 product lines)): Fixed 484, Known Affected 231, Known Not Affected 148, First Fixed 13. https://www.suse.com/security/cve/CVE-2025-58181/
ubuntu medium CVE-2025-58181 medium priority: Ubuntu including 4 source packages (golang-go.crypto, google-guest-agent, lxd, snapd), 32 status rows across 8 suites (bionic, focal, jammy, noble, plucky, questing, upstream, xenial): needs-triage 18, released 7, DNE 4, ignored 2, not-affected 1. https://ubuntu.com/security/CVE-2025-58181

Affected software / configurations for CVE-2025-58181

Vendor Product Version Raw CPE
golang crypto < 0.45.0 cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*

References for CVE-2025-58181

cvelogic Threat Intelligence