Vulnerability · Published Dec 19, 2025 · Assigned by redhat
CVE-2025-14946Libnbd: libnbd: arbitrary code execution via ssh argument injection through a malicious uri
Medium 4.8
In plain English
A medium-severity argument injection in libnbd from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | libnbd | no fix listed | DEBIAN-CVE-2025-14946 |
| Debian:14 | libnbd | 1.22.5-1 | DEBIAN-CVE-2025-14946 |
| Ubuntu:22.04:LTS | libnbd | no fix listed | UBUNTU-CVE-2025-14946 |
| Ubuntu:24.04:LTS | libnbd | no fix listed | UBUNTU-CVE-2025-14946 |
| Ubuntu:25.10 | libnbd | no fix listed | UBUNTU-CVE-2025-14946 |
| Ubuntu:26.04:LTS | libnbd | no fix listed | UBUNTU-CVE-2025-14946 |
Affected products (as reported)
Weakness: CWE-88 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
References
- https://access.redhat.com/security/cve/CVE-2025-14946 vdb-entry, x_refsource_REDHAT
- RHBZ#2423789 issue-tracking, x_refsource_REDHAT
- https://libguestfs.org/libnbd-release-notes-1.24.1.html#Security