
CVE catalog
CVE-2026-3731
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 Nam
- Severity
- Medium · CVSS 6.9
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.66% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libssh | sid | 0.12.2-1 | fixed |
| Debian | libssh | forky | 0.12.2-1 | fixed |
| Debian | libssh | trixie | 0.11.5-0+deb13u1 | fixed |
| Debian | libssh | trixie-security | 0.11.5-0+deb13u1 | fixed |
| Debian | libssh | bookworm | 0.10.6-0+deb12u2 | vulnerable |
| Debian | libssh | bookworm-security | 0.10.6-0+deb12u3 | fixed |
| Cpe | libssh | Not reported | Not reported | vulnerable |
| Cpe | libssh | Not reported | 0.10.6-2ubuntu0.4 | fixed |
| Cpe | libssh-4 | Not reported | 0.10.6-2ubuntu0.4 | fixed |
| Cpe | libssh-dev | Not reported | 0.10.6-2ubuntu0.4 | fixed |
| Cpe | libssh-doc | Not reported | 0.10.6-2ubuntu0.4 | fixed |
| Cpe | libssh-gcrypt-4 | Not reported | 0.10.6-2ubuntu0.4 | fixed |
| Cpe | libssh-gcrypt-dev | Not reported | 0.10.6-2ubuntu0.4 | fixed |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.3 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm3 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm4 | fixed |
| Ubuntu | libssh | 22.04 | 0.9.6-1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-1build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.3 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.4 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.5 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.6 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.7 | fixed |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.3 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.4 | fixed |
| Ubuntu | libssh | 25.10 | 0.11.1-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.1-2 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1build1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.2 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.3 | fixed |
| Ubuntu | libssh | 26.04 | 0.11.2-1build1 | vulnerable |
| Ubuntu | libssh | 26.04 | 0.11.3-1 | vulnerable |
| Ubuntu | libssh | 26.04 | 0.11.3-1ubuntu1 | vulnerable |
| Ubuntu | libssh | 26.04 | 0.11.3-1ubuntu2 | fixed |
| Ubuntu | libssh | 26.04 | 0.11.2-1build1 | vulnerable |
| Ubuntu | libssh | 26.04 | 0.11.3-1 | vulnerable |
| Ubuntu | libssh | 26.04 | 0.11.3-1ubuntu1 | vulnerable |
| Ubuntu | libssh | 26.04 | 0.11.3-1ubuntu2 | fixed |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.0-1ubuntu5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.3 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.4 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm1 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm2 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm3 | vulnerable |
| Ubuntu | libssh | pro | 0.9.3-2ubuntu2.5+esm4 | fixed |
| Ubuntu | libssh | 22.04 | 0.9.6-1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-1build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2build1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.1 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.2 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.3 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.4 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.5 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.6 | vulnerable |
| Ubuntu | libssh | 22.04 | 0.9.6-2ubuntu0.22.04.7 | fixed |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.5-3ubuntu2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2build2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.1 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.2 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.3 | vulnerable |
| Ubuntu | libssh | 24.04 | 0.10.6-2ubuntu0.4 | fixed |
| Ubuntu | libssh | 25.10 | 0.11.1-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.1-2 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1build1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.1 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.2 | vulnerable |
| Ubuntu | libssh | 25.10 | 0.11.2-1ubuntu0.3 | fixed |
| Suse | libssh | linux micro 6.0 | 0.10.6-5.1 | fixed |
| Suse | libssh | linux enterprise server 12 sp5-ltss | 0.9.8-3.24.1 | fixed |
| Suse | libssh | linux enterprise server ltss extended security 12 sp5 | 0.9.8-3.24.1 | fixed |
| Suse | libssh | linux enterprise module for basesystem 15 sp7 | 0.9.8-150600.11.12.1 | fixed |
| Opensuse | libssh | leap 15.6 | 0.9.8-150600.11.12.1 | fixed |
| Suse | libssh | linux micro 6.1 | 0.10.6-slfo.1.1_5.1 | fixed |
| Suse | libssh | linux enterprise micro 5.2 | 0.9.8-150200.13.18.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libssh | source | sid | 0.12.0-1 | not yet assigned | Not reported | [1127693] |
| Debian | libssh | source | forky | 0.12.0-1 | not yet assigned | Not reported | [1127693] |
| Debian | libssh | source | trixie | 0.11.5-0+deb13u1 | not yet assigned | Not reported | [1127693] |
| Debian | libssh | source | bookworm | 0.10.6-0+deb12u3 | not yet assigned | Not reported | [1127693] |
| Cpe | libssh | cpe | Not reported | 0.10.6-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Cpe | libssh-4 | cpe | Not reported | 0.10.6-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Cpe | libssh-dev | cpe | Not reported | 0.10.6-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Cpe | libssh-doc | cpe | Not reported | 0.10.6-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Cpe | libssh-gcrypt-4 | cpe | Not reported | 0.10.6-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Cpe | libssh-gcrypt-dev | cpe | Not reported | 0.10.6-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Ubuntu | libssh | deb | pro | 0.9.3-2ubuntu2.5+esm4 | Not reported | UBUNTU-CVE-2026-3731 | Not reported |
| Ubuntu | libssh | deb | 22.04 | 0.9.6-2ubuntu0.22.04.7 | Not reported | UBUNTU-CVE-2026-3731 | Not reported |
| Ubuntu | libssh | deb | 24.04 | 0.10.6-2ubuntu0.4 | Not reported | UBUNTU-CVE-2026-3731 | Not reported |
| Ubuntu | libssh | deb | 25.10 | 0.11.2-1ubuntu0.3 | Not reported | UBUNTU-CVE-2026-3731 | Not reported |
| Ubuntu | libssh | deb | 26.04 | 0.11.3-1ubuntu2 | Not reported | UBUNTU-CVE-2026-3731 | Not reported |
| Ubuntu | libssh | deb | 26.04 | 0.11.3-1ubuntu2 | Not reported | USN-8093-2 | Not reported |
| Ubuntu | libssh | deb | pro | 0.9.3-2ubuntu2.5+esm4 | Not reported | USN-8093-1 | Not reported |
| Ubuntu | libssh | deb | 22.04 | 0.9.6-2ubuntu0.22.04.7 | Not reported | USN-8093-1 | Not reported |
| Ubuntu | libssh | deb | 24.04 | 0.10.6-2ubuntu0.4 | Not reported | USN-8093-1 | Not reported |
| Ubuntu | libssh | deb | 25.10 | 0.11.2-1ubuntu0.3 | Not reported | USN-8093-1 | Not reported |
| Suse | libssh | rpm | linux micro 6.0 | 0.10.6-5.1 | Not reported | SUSE-SU-2026:23056-1 | Not reported |
| Suse | libssh | rpm | linux enterprise server 12 sp5-ltss | 0.9.8-3.24.1 | Not reported | SUSE-SU-2026:3302-1 | Not reported |
| Suse | libssh | rpm | linux enterprise server ltss extended security 12 sp5 | 0.9.8-3.24.1 | Not reported | SUSE-SU-2026:3302-1 | Not reported |
| Suse | libssh | rpm | linux enterprise module for basesystem 15 sp7 | 0.9.8-150600.11.12.1 | Not reported | SUSE-SU-2026:1310-1 | Not reported |
| Opensuse | libssh | rpm | leap 15.6 | 0.9.8-150600.11.12.1 | Not reported | SUSE-SU-2026:1310-1 | Not reported |
| Suse | libssh | rpm | linux micro 6.1 | 0.10.6-slfo.1.1_5.1 | Not reported | SUSE-SU-2026:20767-1 | Not reported |
| Suse | libssh | rpm | linux enterprise micro 5.2 | 0.9.8-150200.13.18.1 | Not reported | SUSE-SU-2026:0936-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libssh-4]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
- [libssh-dev]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
- [libssh-doc]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· all · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u2· all · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· all · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· all · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
- [libssh-gcrypt-4]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
- [libssh-gcrypt-dev]Affected
Source package: [libssh]
Details (4)
0.10.6-0+deb12u2· amd64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u2· arm64 · bookwormAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· amd64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
0.10.6-0+deb12u1· arm64 · bookworm-securityAffected · Fixed:
0.10.6-0+deb12u3nvd · libssh · debian · bookworm; nvd · libssh · debian · 12
[Debian 13 (Trixie)]
- [libssh-4]Affected
Source package: [libssh]
Details (4)
0.11.2-1+deb13u1· amd64 · trixieAffected · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.2-1+deb13u1· arm64 · trixieAffected · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.5-0+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.5-0+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
- [libssh-dev]Affected
Source package: [libssh]
Details (4)
0.11.2-1+deb13u1· amd64 · trixieAffected · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.2-1+deb13u1· arm64 · trixieAffected · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.5-0+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.5-0+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
- [libssh-doc]Affected
Source package: [libssh]
Details (4)
0.11.2-1+deb13u1· all · trixieAffected · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.2-1+deb13u1· all · trixieAffected · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.5-0+deb13u1· all · trixie-securityFixed · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
0.11.5-0+deb13u1· all · trixie-securityFixed · Fixed:
0.11.5-0+deb13u1nvd · libssh · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3302-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-3731]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-3731]
- [https://osv.dev/vulnerability/SUSE-SU-2026:0936-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:1310-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:20767-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23056-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3302-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-3731]
- [https://osv.dev/vulnerability/USN-8093-1]
- [https://osv.dev/vulnerability/USN-8093-2]
- [https://security-tracker.debian.org/tracker/CVE-2026-3731]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-3731.json]
- [https://ubuntu.com/security/notices/USN-8093-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0634.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]