« List of all CVEs

CVE-2026-3731

libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds

Published: 3/8/2026 Last updated: 3/8/2026 Reserved: 3/7/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.

CNA assigner: VulDB (1af790b2-7ee1-4545-860a-a788eba489b5) Requested by: n/a

Metrics

Version Score Severity Vector String
4.0 6.9 Medium CVSS: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
3.1 5.1 Medium 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
3.0 5.1 Medium CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
2.0 4.4 Medium CVSS:2.0/AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C

Opam packages affected (1)

libssh

Products affected (0)

No product listed.

References (6)