CVE-2026-3731 libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds
MediumCVSS 6.9
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.
Upgrade path
17 packages: 10 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/libssh(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/libssh(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/libssh(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/libssh2(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/libssh2(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| azure linux libssh(Azure Linux 3.0) | < 0.10.6-6 | 0.10.6-6 | Fixed |
| cbl-mariner libssh(CBL-Mariner 2.0) | < 0.10.6-6 | 0.10.6-6 | Fixed |
| debian/libssh(Debian 12) | < 0.10.6-0+deb12u3; = 0.10.5-2; = 0.10.5-3; = 0.10.5-3+hurd.1 +2 more | 0.10.6-0+deb12u3 | Fixed |
| debian/libssh(Debian 13) | < 0.11.5-0+deb13u1; = 0.11.2-1; = 0.11.2-1+deb13u1; = 0.11.3-1 | 0.11.5-0+deb13u1 | Fixed |
| debian/libssh(Debian 14) | < 0.12.0-1; = 0.11.2-1; = 0.11.3-1 | 0.12.0-1 | Fixed |
| libssh | <= 0.11.3; = 0.11.0; = 0.11.1; = 0.11.2 +1 more | after 0.11.3 | Fixed |
| redhat/libssh-main(Red Hat hummingbird 1) | < 0.12.0-1.1.hum1 | 0.12.0-1.1.hum1 | Fixed |
| ubuntu/libssh(Ubuntu 22.04) | < 0.9.6-2ubuntu0.22.04.7 | 0.9.6-2ubuntu0.22.04.7 | Fixed |
| ubuntu/libssh(Ubuntu 24.04) | < 0.10.6-2ubuntu0.4 | 0.10.6-2ubuntu0.4 | Fixed |
| ubuntu/libssh(Ubuntu 26.04) | < 0.11.3-1ubuntu2 | 0.11.3-1ubuntu2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux libssh(Azure Linux:3.0) | < 0.10.6-6 | 0.10.6-6 |
| cbl-mariner libssh(CBL-Mariner:2.0) | < 0.10.6-6 | 0.10.6-6 |
| libssh | = 0.11.0 | No fix listed |
| libssh | = 0.11.1 | No fix listed |
| libssh | = 0.11.2 | No fix listed |
| libssh | = 0.11.3 | No fix listed |
| debian/libssh(Debian:12) | < 0.10.6-0+deb12u3 | 0.10.6-0+deb12u3 |
| debian/libssh(Debian:12) | = 0.10.5-2 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.5-3 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.5-3+hurd.1 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.6-0+deb12u1 | No fix listed |
| debian/libssh(Debian:12) | = 0.10.6-0+deb12u2 | No fix listed |
| debian/libssh(Debian:13) | < 0.11.5-0+deb13u1 | 0.11.5-0+deb13u1 |
| debian/libssh(Debian:13) | = 0.11.2-1 | No fix listed |
| debian/libssh(Debian:13) | = 0.11.2-1+deb13u1 | No fix listed |
| debian/libssh(Debian:13) | = 0.11.3-1 | No fix listed |
| debian/libssh(Debian:14) | < 0.12.0-1 | 0.12.0-1 |
| debian/libssh(Debian:14) | = 0.11.2-1 | No fix listed |
| debian/libssh(Debian:14) | = 0.11.3-1 | No fix listed |
| ubuntu/libssh(Ubuntu:22.04) | < 0.9.6-2ubuntu0.22.04.7 | 0.9.6-2ubuntu0.22.04.7 |
| redhat/libssh-main(Red Hat:hummingbird:1) | < 0.12.0-1.1.hum1 | 0.12.0-1.1.hum1 |
| redhat/libssh(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/libssh2(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/libssh2(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/libssh(Red Hat:enterprise_linux:8) | All versions | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/libssh(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/libssh(Ubuntu:24.04) | < 0.10.6-2ubuntu0.4 | 0.10.6-2ubuntu0.4 |
| ubuntu/libssh(Ubuntu:26.04) | < 0.11.3-1ubuntu2 | 0.11.3-1ubuntu2 |
| libssh | <= 0.11.3 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- VDB-349709 | libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds technical-description third-party-advisory vdb-entry
- VDB-349709 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #767120 | libssh.org libssh libssh < 0.11.4; < 0.12.0 Out-of-Bounds Read third-party-advisory vdb-entry
- www.libssh.org product related
- gitlab.com patch
- www.libssh.org patch third-party-advisory
- Debian Security Tracker CVE-2026-3731 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8093-1 vendor-advisory
- USN-8093-2 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:7067 patch vendor-advisory
- Red Hat Bugzilla 2445579 issue-tracking
- nvd.nist.gov
- bugs.debian.org issue-tracking