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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | libnbd | 1.22.0 – < 1.22.5, 1.23.0 – < 1.23.9 | 1.22.5 |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat OpenShift Virtualization 4 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnbd | 1.22.5-1 | — |
| Debian 13 | libnbd | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libnbd | No fix yet | — |
| Ubuntu 25.10 | libnbd | No fix yet | — |
| Ubuntu 24.04 LTS | libnbd | No fix yet | — |
| Ubuntu 22.04 LTS | libnbd | No fix yet | — |
| Ubuntu 20.04 LTS | libnbd | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libnbd | 1.24.0-2.1 | openSUSE-SU-2025:15842-1 |
Advisories 1
- openSUSE-SU-2025:15842-1 libnbd-1.24.0-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026