Libnbd: libnbd: arbitrary code execution via ssh argument injection through a malicious uri
Summary
| CVE | CVE-2025-14946 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-19 13:16:03 UTC |
| Updated | 2026-11-05 15:17:12 UTC |
| Description | A flaw was found in libnbd. A malicious actor could exploit this by convincing libnbd to open a specially crafted Uniform Resource Identifier (URI). This vulnerability arises because non-standard hostnames starting with '-o' are incorrectly interpreted as arguments to the Secure Shell (SSH) process, rather than as hostnames. This could lead to arbitrary code execution with the privileges of the user running libnbd. |
Risk And Classification
Primary CVSS: v3.1 4.8 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
EPSS: 0.001440000 probability, percentile 0.037270000 (date 2026-11-04)
Problem Types: CWE-88 | CWE-88 Improper Neutralization of Argument Delimiters in a Command
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.8 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| 3.1 | CNA | CVSS | 4.8 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Libnbd | affected 1.22.0 1.22.5 semver | Not specified |
| CNA | Red Hat | Libnbd | affected 1.23.0 1.23.9 semver | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Virtualization 4 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/security/cve/CVE-2025-14946 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| libguestfs.org/libnbd-release-notes-1.24.1.html | [email protected] | libguestfs.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-12-19T03:32:19.506Z | Reported to Red Hat. |
| CNA | 2025-12-16T00:00:00.000Z | Made public. |
Workarounds
CNA: To mitigate this issue, ensure that applications utilizing libnbd do not process Uniform Resource Identifiers (URIs) from untrusted or unverified sources. This vulnerability requires a malicious actor to convince libnbd to open a specially crafted URI, therefore restricting the sources of URIs processed by libnbd can reduce exposure.
There are currently no legacy QID mappings associated with this CVE.