{"id":"JLSEC-2026-1085","summary":"libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the...","details":"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.","modified":"2026-07-31T18:20:50.317230712Z","published":"2026-07-31T18:09:08.751Z","upstream":["CVE-2026-66032","EUVD-2026-48719","GHSA-83r8-6c29-8gwr"],"database_specific":{"sources":[{"published":"2026-07-24T17:17:35.120Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-66032","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66032","database_specific":{"status":"Undergoing Analysis"},"id":"CVE-2026-66032","imported":"2026-07-31T17:07:30.261Z","modified":"2026-07-30T16:43:03.817Z"},{"published":"2026-07-24T18:31:29Z","url":"https://api.github.com/advisories/GHSA-83r8-6c29-8gwr","html_url":"https://github.com/advisories/GHSA-83r8-6c29-8gwr","id":"GHSA-83r8-6c29-8gwr","imported":"2026-07-31T17:07:26.852Z","modified":"2026-07-24T18:31:37Z"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48719","id":"EUVD-2026-48719","imported":"2026-07-31T17:07:23.894Z","modified":"2026-07-28T01:06:24Z","published":"2026-07-24T16:32:39Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-48719"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-83r8-6c29-8gwr"},{"type":"WEB","url":"https://github.com/libssh2/libssh2/commit/5e4776146552d898b9c0e1b313cd093fa8dc92d0"},{"type":"WEB","url":"https://github.com/libssh2/libssh2/pull/2180"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66032"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/libssh2-double-free-heap-corruption-via-sftp-open"}],"affected":[{"package":{"name":"LibSSH2_jll","ecosystem":"Julia","purl":"pkg:julia/LibSSH2_jll?uuid=29816b5a-b9ab-546f-933c-edad1886dfa8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.104+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1085.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}