{"id":"JLSEC-2026-659","summary":"libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read...","details":"libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read vulnerability in the sftp_symlink() function in src/sftp.c that allows a malicious SSH server or man-in-the-middle attacker to disclose heap memory contents or cause a crash by sending a crafted SSH_FXP_NAME response. Attackers can supply a link_len value larger than the actual packet data in SSH_FXP_NAME responses for SFTP READLINK and REALPATH operations, triggering a heap buffer over-read of up to target_len minus one bytes due to the missing validation of available packet buffer size before the memcpy operation.","modified":"2026-07-18T00:02:18.330169899Z","published":"2026-07-10T13:57:40.607Z","upstream":["CVE-2025-15661","GHSA-3wqh-87fg-ffgg","EUVD-2025-210285"],"database_specific":{"license":"CC-BY-4.0","sources":[{"published":"2026-06-18T21:16:27.143Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-15661","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15661","database_specific":{"status":"Analyzed"},"id":"CVE-2025-15661","imported":"2026-07-17T22:21:02.942Z","modified":"2026-07-14T23:17:19.207Z"},{"html_url":"https://github.com/advisories/GHSA-3wqh-87fg-ffgg","id":"GHSA-3wqh-87fg-ffgg","imported":"2026-07-17T22:21:03.136Z","modified":"2026-06-18T21:32:38Z","published":"2026-06-18T21:32:35Z","url":"https://api.github.com/advisories/GHSA-3wqh-87fg-ffgg"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-210285","id":"EUVD-2025-210285","imported":"2026-07-17T22:21:13.066Z","modified":"2026-07-14T22:25:35Z","published":"2026-06-18T20:18:29Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2025-210285"}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-3wqh-87fg-ffgg"},{"type":"WEB","url":"https://github.com/libssh2/libssh2/commit/2dae3024897e1898d389835151f4e9606227721d"},{"type":"WEB","url":"https://github.com/libssh2/libssh2/pull/1705"},{"type":"WEB","url":"https://github.com/libssh2/libssh2/pull/1717"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15661"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/libssh2-heap-buffer-over-read-via-sftp-symlink-in-sftp-c"}],"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.102+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-659.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/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"}]}