Home

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.

PUBLISHED Reserved 2026-03-07 | Published 2026-03-08 | Updated 2026-03-08 | Assigner VulDB




MEDIUM: 6.9CVSS: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
MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
MEDIUM: 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
5.0AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C

Problem types

Out-of-Bounds Read

Memory Corruption

Timeline

2026-03-07:Advisory disclosed
2026-03-07:VulDB entry created
2026-03-07:VulDB entry last update

References

vuldb.com/?id.349709 (VDB-349709 | libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds) vdb-entry technical-description

vuldb.com/?ctiid.349709 (VDB-349709 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/?submit.767120 (Submit #767120 | libssh.org libssh libssh < 0.11.4; < 0.12.0 Out-of-Bounds Read) third-party-advisory

www.libssh.org/...advisories/libssh-2026-sftp-extensions.txt related

gitlab.com/...ommit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60 patch

www.libssh.org/files/0.12/libssh-0.12.0.tar.xz patch

cve.org (CVE-2026-3731)

nvd.nist.gov (CVE-2026-3731)

Download JSON