libssh2 through 1.11.1, fixed in commit 2dae302, contains an out-of-bounds heap read vulnerability in the sftpsymlink() 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 SSHFXPNAME response. Attackers can supply a linklen value larger than the actual packet data in SSHFXPNAME 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.
{
"license": "CC-BY-4.0",
"sources": [
{
"modified": "2026-07-14T23:17:19.207Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-15661",
"imported": "2026-07-17T22:21:02.942Z",
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-15661",
"published": "2026-06-18T21:16:27.143Z",
"id": "CVE-2025-15661"
},
{
"modified": "2026-06-18T21:32:38Z",
"url": "https://api.github.com/advisories/GHSA-3wqh-87fg-ffgg",
"imported": "2026-07-17T22:21:03.136Z",
"html_url": "https://github.com/advisories/GHSA-3wqh-87fg-ffgg",
"id": "GHSA-3wqh-87fg-ffgg",
"published": "2026-06-18T21:32:35Z"
},
{
"modified": "2026-07-14T22:25:35Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2025-210285",
"imported": "2026-07-17T22:21:13.066Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-210285",
"id": "EUVD-2025-210285",
"published": "2026-06-18T20:18:29Z"
}
]
}