Skip to content

CVE-2025-14946 Libnbd: libnbd: arbitrary code execution via ssh argument injection through a malicious uri

MediumCVSS 4.8 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/libnbd(Debian 13) = 1.22.2-1; = 1.22.3-1; = 1.22.5-1; = 1.24.0-1 +8 more No fix listed No fix yet
redhat enterprise linux = 8; = 9; All versions No fix listed No fix yet
redhat libnbd(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
ubuntu/libnbd(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libnbd(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libnbd(Ubuntu 26.04) All versions No fix listed No fix yet
debian/libnbd(Debian 14) < 1.22.5-1; = 1.22.2-1; = 1.22.3-1 1.22.5-1 Fixed
redhat libnbd >= 1.22.0, < 1.22.5; >= 1.23.0, < 1.23.9 1.22.5, 1.23.9 Fixed
redhat container native virtualization = 4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libnbd(Debian:13) All versions No fix listed
debian/libnbd(Debian:13) = 1.22.2-1 No fix listed
debian/libnbd(Debian:13) = 1.22.3-1 No fix listed
debian/libnbd(Debian:13) = 1.22.5-1 No fix listed
debian/libnbd(Debian:13) = 1.24.0-1 No fix listed
debian/libnbd(Debian:13) = 1.24.0-2 No fix listed
debian/libnbd(Debian:13) = 1.24.0-2.1 No fix listed
debian/libnbd(Debian:13) = 1.24.1-1 No fix listed
debian/libnbd(Debian:13) = 1.24.2-1 No fix listed
debian/libnbd(Debian:13) = 1.24.2-2 No fix listed
debian/libnbd(Debian:13) = 1.24.3-1 No fix listed
debian/libnbd(Debian:13) = 1.24.4-1 No fix listed
debian/libnbd(Debian:14) < 1.22.5-1 1.22.5-1
debian/libnbd(Debian:14) = 1.22.2-1 No fix listed
debian/libnbd(Debian:14) = 1.22.3-1 No fix listed
redhat libnbd >= 1.22.0, < 1.22.5 1.22.5
redhat libnbd >= 1.23.0, < 1.23.9 1.23.9
redhat enterprise linux All versions No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
redhat container native virtualization = 4 No fix listed
ubuntu/libnbd(Ubuntu:22.04) All versions No fix listed
redhat libnbd(Red Hat:enterprise_linux:10) All versions No fix listed
ubuntu/libnbd(Ubuntu:24.04) All versions No fix listed
ubuntu/libnbd(Ubuntu:26.04) All versions No fix listed

References