StackPatch is liveSee product

Back to CVE digest
CVE-2025-15661 · cross-distro fix matrix

CVE-2025-15661: It was discovered that libssh2 incorrectly handled the sftp_symlink()

Affects 5 Linux releases across 11 (distro × package) combinations. First disclosed: 2026-06-18.

CVSS v3:MEDIUM · 6.5(NVD-published)

Fix per ecosystem

Each block below is a distro release where CVE-2025-15661 has a known fix. Run the listed command on that distro to remediate.

Ubuntu noble

Source: Ubuntu USN

  • libssh2→ fixed in1.11.0-4.1ubuntu0.24.04.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2
  • libssh2-1-dev→ fixed in1.11.0-4.1ubuntu0.24.04.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2-1-dev
  • libssh2-1t64→ fixed in1.11.0-4.1ubuntu0.24.04.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2-1t64

Ubuntu questing

Source: Ubuntu USN

  • libssh2→ fixed in1.11.1-1ubuntu0.25.10.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2
  • libssh2-1-dev→ fixed in1.11.1-1ubuntu0.25.10.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2-1-dev
  • libssh2-1t64→ fixed in1.11.1-1ubuntu0.25.10.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2-1t64

Ubuntu resolute

Source: Ubuntu USN

  • libssh2→ fixed in1.11.1-1ubuntu0.26.04.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2
  • libssh2-1-dev→ fixed in1.11.1-1ubuntu0.26.04.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2-1-dev
  • libssh2-1t64→ fixed in1.11.1-1ubuntu0.26.04.2USN-8486-1
    sudo apt-get install --only-upgrade -y libssh2-1t64

Debian trixie

Source: Debian Security Tracker

  • libssh2→ fixed in1.11.1-1+deb13u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libssh2

Alpine edge

Source: Alpine secdb

  • rust→ fixed in1.96.1-r0
    apk update && apk add --upgrade rust
Are YOU affected by CVE-2025-15661?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2025-15661dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)