CVE-2026-66032
Last modified
CVE-2026-66032 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libssh2 | Libssh2 | <= 1.11.1 |
References
- https://github.com/libssh2/libssh2/pull/2180Issue Tracking, Patch
- https://www.vulncheck.com/advisories/libssh2-double-free-heap-corruption-via-sftp-openPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-66032?
How severe is CVE-2026-66032?
How do I fix CVE-2026-66032?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-66027Suna before 0.9.102 contains a broken access control vulnera…8.7
- CVE-2026-66028Ekushey Project Manager CRM through version 5.0 contains a m…7.1
- CVE-2026-66029Ekushey Project Manager CRM through version 5.0 contains a s…5.4
- CVE-2026-6603A vulnerability was determined in modelscope agentscope up t…7.3
- CVE-2026-66030Ekushey Project Manager CRM through version 5.0 ccontains a …5.4
- CVE-2026-66031Ekushey Project Manager CRM through version 5.0 contains a s…5.4
- CVE-2026-66033libssh2 through 1.11.1, fixed in commit a2ed82d, contains a …8.7
- CVE-2026-66034libssh2 through 1.11.1, fixed in commit a13bb6c, contains a …7.7
- CVE-2026-66035libssh2 through 1.11.1, fixed in commit 42e33d8, contains a …7.7
- CVE-2026-66036FFmpeg through 8.1.2, fixed in commit 5d7112c, contains a he…8.8
- CVE-2026-66037FFmpeg through 8.1.2, fixed in commit 5d7112c, contains an u…5.5
- CVE-2026-66038FFmpeg through 8.1.2, fixed in commit 8670835, contains an i…6.5
Are you affected by CVE-2026-66032?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
