Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
Libssh: Remote Code Execution Through SFTP Extension
OESA-2026-1560
Summary
A bug in the SFTP extension of the libssh library can allow an attacker to execute malicious code on a remote system. This could happen if a programmer using libssh is tricked into accepting malicious input. To fix this, update libssh to version 0.11.4 or 0.12.0 to ensure your system remains secure.
What to do
- Update libssh to version 0.10.5-10.oe2403sp3.
Affected software
| Vendor | Product | Affected versions | Fix available |
|---|---|---|---|
| – | libssh | <= 0.10.5-10.oe2403sp3 | 0.10.5-10.oe2403sp3 |
Original title
libssh security update
Original description
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).
Security Fix(es):
(CVE-2026-0964)
(CVE-2026-0965)
(CVE-2026-0966)
(CVE-2026-0967)
(CVE-2026-0968)
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.(CVE-2026-3731)
Security Fix(es):
(CVE-2026-0964)
(CVE-2026-0965)
(CVE-2026-0966)
(CVE-2026-0967)
(CVE-2026-0968)
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.(CVE-2026-3731)
- https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-0964 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-0965 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-0966 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-0967 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-0968 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-3731 Vendor Advisory
Published: 15 Mar 2026 · Updated: 15 Mar 2026 · First seen: 15 Mar 2026