{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-66032","id":"CVE-2026-66032","title":"libssh2 Double-Free Heap Corruption via sftp_open()","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 retur","descriptionLong":"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.","published":"2026-07-24T16:32:39.596Z","updated":"2026-11-12T07:04:17.789798540Z","reserved":"2026-07-23T20:45:17.816Z","status":"Modified","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.7,"vector":"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.7,"vector":"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.7,"vector":"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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"VulnCheck"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["libssh2"],"affectedProducts":[{"vendor":"libssh2","product":"libssh2","defaultStatus":"affected","versions":[{"status":"affected","version":"0","versionType":"semver","lessThanOrEqual":"1.11.1"},{"status":"unaffected","version":"5e4776146552d898b9c0e1b313cd093fa8dc92d0","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://github.com/libssh2/libssh2/pull/2180","tags":["issue-tracking","patch","Issue Tracking","Patch","fix"]},{"url":"https://github.com/libssh2/libssh2/commit/5e4776146552d898b9c0e1b313cd093fa8dc92d0","tags":["patch","Patch","fix"]},{"url":"https://www.vulncheck.com/advisories/libssh2-double-free-heap-corruption-via-sftp-open","tags":["third-party-advisory","Patch","Third Party Advisory","advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66032.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66032","tags":["advisory"]},{"url":"https://github.com/libssh2/libssh2","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00476,"epssPercentile":0.41848,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-66032","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66032","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-66032","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-66032","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}