CVE-2026-3731
A weakness has been identified in libssh up to 0.11.3. The impacted …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60
- vuldb.com/?ctiid.349709
- vuldb.com/?id.349709
- vuldb.com/?submit.767120
- www.libssh.org/files/0.12/libssh-0.12.0.tar.xz
- www.libssh.org/security/advisories/libssh-2026-sftp-extensions.txt
- nvd.nist.gov/vuln/detail/CVE-2026-3731
- cve.org/CVERecord?id=CVE-2026-3731
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.