CVE-2026-66032: libssh2 Double-Free Heap Corruption via sftp_open()
Affects libssh2Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 1.11.1_4 soon.
Data as of 11 Nov 2026, 09:53 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.8 |
- Patch
- Available – fixed in 1.11.1_4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade libssh2 to 1.11.1_4.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewlibssh2pkg:brew/libssh2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by upgrading libssh2 to version 1.11.1_4 or later. The fix is included in commit 5e47761. No alternative mitigations are indicated by the vendor advisory.
Description
A double-free heap corruption vulnerability exists in libssh2 versions prior to 1.11.1_4 in the sftp_open() function. This flaw allows a malicious SSH server to corrupt the heap of any authenticated client opening an SFTP session by triggering a double free of a response data buffer under specific error conditions. The issue is fixed in version 1.11.1_4.
References
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66032.json (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-66032 (opens in a new tab)
- vulncheck.com/advisories/libssh2-double-free-heap-corruption-via-sftp-open (opens in a new tab)
- github.com/libssh2/libssh2/commit/5e4776146552d898b9c0e1b313cd093fa8dc92d0 (opens in a new tab)
- github.com/libssh2/libssh2/pull/2180 (opens in a new tab)
- github.com/libssh2/libssh2 (opens in a new tab)