CVE-2025-14946Libnbd: libnbd: arbitrary code execution via ssh argument injection through a malicious uri
- 4.8MediumCVSS base score
- 0.14%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| NVDNVD · Deferred | 3.1 | Medium4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.14% · top 96% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Affected products
- affected 1.22.0 – < 1.22.5
- affected 1.23.0 – < 1.23.9
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 9
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
Red Hat · Red Hat OpenShift Virtualization 4
All versions: unaffected
What to do
Workaround: 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.
References
References3
- https://access.redhat.com/security/cve/CVE-2025-14946 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2423789 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://libguestfs.org/libnbd-release-notes-1.24.1.html#Security (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-204536 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-14946)Record last updated .