p PatchFirst

CVE-2025-14946

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

CVSS 4.8 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • libnbd

    Versions
    • ≥ 1.22.0, < 1.22.5: Affected (semver)
    • ≥ 1.23.0, < 1.23.9: Affected (semver)

    Update to 1.22.5; Update to 1.23.9

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • red hat openshift virtualization 4

    No fix published

  • libnbd Debian 13

    Versions
    • 1.22.2-1
    • 1.22.3-1
    • 1.22.5-1
    • 1.24.0-1
    • 1.24.0-2
    • 1.24.0-2.1
    All versions (11)
    • 1.24.1-1
    • 1.24.2-1
    • 1.24.2-2
    • 1.24.3-1
    • 1.24.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libnbd Debian 14

    Versions
    • 1.22.2-1
    • 1.22.3-1
    Affected ranges
    • ECOSYSTEM: < 1.22.5-1

    Update to 1.22.5-1

  • libnbd Ubuntu 20.04 LTS

    Versions
    • 1.0.3-1
    • 1.2.1-2
    • 1.2.2-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libnbd Ubuntu 22.04 LTS

    Versions
    • 1.6.3-1
    • 1.8.5-1
    • 1.10.2-1
    • 1.10.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libnbd Ubuntu 24.04 LTS

    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
    All versions (7)
    • 1.20.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libnbd Ubuntu 25.10

    Versions
    • 1.22.0-1
    • 1.22.2-1build1
    • 1.22.2-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libnbd Ubuntu 26.04 LTS

    Versions
    • 1.22.2-1build2
    • 1.24.0-2ubuntu1
    • 1.24.1-1ubuntu6
    • 1.24.2-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →