{"id":"UBUNTU-CVE-2025-14946","details":"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.","modified":"2026-05-20T16:20:23.319863296Z","published":"2025-12-19T13:16:00Z","upstream":["CVE-2025-14946"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-14946"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-14946"},{"type":"REPORT","url":"https://libguestfs.org/libnbd-release-notes-1.24.1.html#Security"},{"type":"REPORT","url":"https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/YZMBF3SJRWTRVT5L3KWSNHITFTRMQNTT/"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2025-14946"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2423789"}],"affected":[{"package":{"name":"libnbd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.3-1","1.2.1-2","1.2.2-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-ocaml","binary_version":"1.2.2-1ubuntu2"},{"binary_name":"libnbd0","binary_version":"1.2.2-1ubuntu2"},{"binary_name":"nbdfuse","binary_version":"1.2.2-1ubuntu2"},{"binary_version":"1.2.2-1ubuntu2","binary_name":"python3-libnbd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14946.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.3-1","1.8.5-1","1.10.2-1","1.10.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-bin","binary_version":"1.10.5-1"},{"binary_name":"libnbd-ocaml","binary_version":"1.10.5-1"},{"binary_version":"1.10.5-1","binary_name":"libnbd0"},{"binary_name":"python3-libnbd","binary_version":"1.10.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14946.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.4-1","1.18.1-1","1.18.2-1","1.18.2-1build1","1.18.2-2","1.18.2-2build1","1.20.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-bin","binary_version":"1.20.0-1"},{"binary_version":"1.20.0-1","binary_name":"libnbd-ocaml"},{"binary_name":"libnbd0","binary_version":"1.20.0-1"},{"binary_name":"python3-libnbd","binary_version":"1.20.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14946.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.0-1","1.22.2-1build1","1.22.2-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22.2-1build2","binary_name":"libnbd-bin"},{"binary_name":"libnbd-ocaml","binary_version":"1.22.2-1build2"},{"binary_name":"libnbd0","binary_version":"1.22.2-1build2"},{"binary_name":"python3-libnbd","binary_version":"1.22.2-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14946.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.2-1build2","1.24.0-2ubuntu1","1.24.1-1ubuntu6","1.24.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-bin","binary_version":"1.24.2-1ubuntu1"},{"binary_version":"1.24.2-1ubuntu1","binary_name":"libnbd-ocaml"},{"binary_name":"libnbd0","binary_version":"1.24.2-1ubuntu1"},{"binary_version":"1.24.2-1ubuntu1","binary_name":"python3-libnbd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14946.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}