libssh2 up to 1.11.1 Sftp src/sftp.c sftp_open double free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in libssh2 up to 1.11.1. This impacts the function sftp_open of the file src/sftp.c of the component Sftp. The manipulation leads to double free.
This vulnerability is referenced as CVE-2026-66032. Remote exploitation of the attack is possible. No exploit is available.
Details
A vulnerability was found in libssh2 up to 1.11.1. It has been rated as problematic. This issue affects the function sftp_open of the file src/sftp.c of the component Sftp. The manipulation with an unknown input leads to a double free vulnerability. Using CWE to declare the problem leads to CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. Impacted is availability. The summary by CVE is:
libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the sftp_open() function in src/sftp.c that allows a malicious SSH server to corrupt the heap of any authenticated client opening an SFTP session. When a server responds to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-66032 since 07/23/2026. The exploitation is known to be easy. The attack may be initiated remotely. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 333544 (SUSE SLES15 Security Update : libssh2_org (SUSE-SU-2026:3526-1)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 5e4776146552d898b9c0e1b313cd093fa8dc92d0 is able to eliminate this problem.
The vulnerability is also documented in the databases at Tenable (333544) and EUVD (EUVD-2026-48719). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
Website
- Product: https://github.com/libssh2/libssh2/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 7.1VulDB Meta Temp Score: 7.0
VulDB Base Score: 5.4
VulDB Temp Score: 5.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.8
CNA Vector (VulnCheck): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Double freeCWE: CWE-415 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 333544
Nessus Name: SUSE SLES15 Security Update : libssh2_org (SUSE-SU-2026:3526-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 5e4776146552d898b9c0e1b313cd093fa8dc92d0
Timeline
07/23/2026 CVE reserved07/24/2026 Advisory disclosed
07/24/2026 VulDB entry created
08/09/2026 VulDB entry last update
Sources
Product: github.comAdvisory: github.com
Status: Confirmed
CVE: CVE-2026-66032 (🔒)
GCVE (CVE): GCVE-0-2026-66032
GCVE (VulDB): GCVE-100-382985
EUVD: 🔒
Entry
Created: 07/24/2026 19:14Updated: 08/09/2026 19:45
Changes: 07/24/2026 19:14 (56), 07/25/2026 19:45 (1), 08/09/2026 15:12 (23), 08/09/2026 19:45 (2)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.