CVE-2026-3731: libssh
Vulnerability summary
CVE-2026-3731 is a high (CVSS 7.5) vulnerability in libssh. EPSS estimates a 1.20% chance of exploitation in the next 30 days, higher than 67.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 08-03-2026PublishedVulnerability first disclosed.
- 11-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 4 sources · 4 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:CDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.0MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS trend
Probability
1.20%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
+0.57 pp
From 0.63% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
Affected systems
Suse3 products
- libssh&distro=SUSE Linux Enterprise Micro 5.2< 0.9.8-150200.13.18.1
- libssh&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 0.9.8-150600.11.12.1
- libssh&distro=SUSE Linux Micro 6.1< 0.10.6-slfo.1.1_5.1
Debian1 product
- libsshAll versions (No fix recorded) | < 0.11.5-0+deb13u1 | < 0.12.0-1
Libssh1 product
- libssh≤ 0.11.3
Opensuse1 product
- libssh&distro=openSUSE Leap 15.6< 0.9.8-150600.11.12.1
Ubuntu1 product
- libssh< 0.6.3-4.3ubuntu0.6+esm5 | < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm7 | < 0.9.3-2ubuntu2.5+esm4 | < 0.9.6-2ubuntu0.22.04.7 | < 0.10.6-2ubuntu0.4 | < 0.11.2-1ubuntu0.3 | < 0.11.3-1ubuntu2
5 vendors · 7 products