libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds
Summary
libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-3731 libssh
- Ubuntu UBUNTU-CVE-2026-3731 libssh Fixed in: 0.6.3-4.3ubuntu0.6+esm5
References
- advisory github.com
- advisory nvd.nist.gov
- advisory vuldb.com
- advisory vuldb.com
- advisory libssh.org
- patch gitlab.com
- patch libssh.org
- report vuldb.com