CVE-2026-3731
libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds
CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 CWE-119 |
| Vendor | n/a |
| Product | libssh |
| Published | Mar 8, 2026 |
| Last Updated | Mar 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for n/a libssh
Be the first to know when new medium vulnerabilities affecting n/a libssh are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
n/a / libssh
0.11.0 0.11.1 0.11.2 0.11.3
References
vuldb.com: https://vuldb.com/?id.349709 vuldb.com: https://vuldb.com/?ctiid.349709 vuldb.com: https://vuldb.com/?submit.767120 libssh.org: https://www.libssh.org/security/advisories/libssh-2026-sftp-extensions.txt gitlab.com: https://gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60 libssh.org: https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz