Fix CVE(s): CVE-2026-66032
* SECURITY UPDATE: double free in sftp_open() lets a malicious SSH server corrupt the heap of an authenticated client opening an SFTP session - debian/patches/CVE-2026-66032.patch: set data to NULL after freeing the SSH_FXP_STATUS response buffer on the FX_OK path, so the if(badness) arm cannot free the same pointer a second time when the follow-up sftp_packet_require() for SSH_FXP_HANDLE fails, in sftp_open() in src/sftp.c - CVE-2026-66032
- Products
- libssh2-1, libssh2-1-dev
- Affected versions
- Not specified
- Fixed versions
- 1.8.0-2.1+deb10u1+tuxcare.els3
- CVEs
- CVE-2026-66032
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 11:22 UTC · Revision 1
Source evidence
* SECURITY UPDATE: double free in sftp_open() lets a malicious SSH server corrupt the heap of an authenticated client opening an SFTP session - debian/patches/CVE-2026-66032.patch: set data to NULL after freeing the SSH_FXP_STATUS response buffer on the FX_OK path, so the if(badness) arm cannot free the same pointer a second time when the follow-up sftp_packet_require() for SSH_FXP_HANDLE fails, in sftp_open() in src/sftp.c - CVE-2026-66032
osv:CLSA-2026-1787740667
libssh2-1
Fixed versions: 1.8.0-2.1+deb10u1+tuxcare.els3
libssh2-1-dev
Fixed versions: 1.8.0-2.1+deb10u1+tuxcare.els3
Complete source record
{
"id": "4af2951e873fbefc08ecad85cdfad3ba21e418626b7c1e5ed9c1a73d1de54785",
"url": "https://osv.dev/vulnerability/CLSA-2026-1787740667",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Fix CVE(s): CVE-2026-66032",
"summary": "* SECURITY UPDATE: double free in sftp_open() lets a malicious SSH server corrupt the heap of an authenticated client opening an SFTP session - debian/patches/CVE-2026-66032.patch: set data to NULL after freeing the SSH_FXP_STATUS response buffer on the FX_OK path, so the if(badness) arm cannot free the same pointer a second time when the follow-up sftp_packet_require() for SSH_FXP_HANDLE fails, in sftp_open() in src/sftp.c - CVE-2026-66032",
"evidence": "osv:CLSA-2026-1787740667",
"products": [
{
"name": {
"value": "libssh2-1",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.8.0-2.1+deb10u1+tuxcare.els3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libssh2-1-dev",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.8.0-2.1+deb10u1+tuxcare.els3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2026-1787740667",
"aliases": [
"CLSA-2026-1787740667"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.0-2.1+deb10u1+tuxcare.els3"
}
]
}
],
"package": {
"name": "libssh2-1",
"purl": "pkg:deb/tuxcare/libssh2-1?distro=debian-10",
"ecosystem": "TuxCare:Debian:10"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1787740667.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.0-2.1+deb10u1+tuxcare.els3"
}
]
}
],
"package": {
"name": "libssh2-1-dev",
"purl": "pkg:deb/tuxcare/libssh2-1-dev?distro=debian-10",
"ecosystem": "TuxCare:Debian:10"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1787740667.json"
}
}
],
"modified": "2026-10-26T09:31:53.015543122Z",
"provider": "osv",
"upstream": [
"CVE-2026-66032"
],
"references": [
"https://errata.tuxcare.com/els_os/debian10els/CLSA-2026-1787740667.html",
"https://nvd.nist.gov/vuln/detail/CVE-2026-66032"
]
},
"related_cves": [
{
"value": "CVE-2026-66032",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 448815,
"published_at": "2026-08-26T10:38:04+00:00"
}