CVE-2026-3731
6.9
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | libssh | 0.11.0 | affected |
| n/a | libssh | 0.11.1 | affected |
| n/a | libssh | 0.11.2 | affected |
| n/a | libssh | 0.11.3 | affected |
| n/a | libssh | 0.11.4 | unaffected |
| n/a | libssh | 0.12.0 | unaffected |
Weaknesses
- CWE-125: Out-of-Bounds Read
- CWE-119: Memory Corruption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
- https://vuldb.com/?id.349709
- https://vuldb.com/?ctiid.349709
- https://vuldb.com/?submit.767120
- https://www.libssh.org/security/advisories/libssh-2026-sftp-extensions.txt
- https://gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60
- https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.