Fix CVE(s): CVE-2026-66032
* SECURITY UPDATE: double free in sftp_open() reachable by a malicious SSH server against an authenticated client opening an SFTP session - debian/patches/CVE-2026-66032.patch: NULL the response buffer after freeing it on the FX_OK path, so the if(badness) arm cannot free the same stale pointer a second time when sftp_packet_require() fails with anything other than LIBSSH2_ERROR_EAGAIN, in src/sftp.c - CVE-2026-66032
- Products
- libssh2-1, libssh2-1-dev
- Affected versions
- Not specified
- Fixed versions
- 1.8.0-1ubuntu0.1+tuxcare.els3
- CVEs
- CVE-2026-66032
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 10:44 UTC · Revision 1
Source evidence
* SECURITY UPDATE: double free in sftp_open() reachable by a malicious SSH server against an authenticated client opening an SFTP session - debian/patches/CVE-2026-66032.patch: NULL the response buffer after freeing it on the FX_OK path, so the if(badness) arm cannot free the same stale pointer a second time when sftp_packet_require() fails with anything other than LIBSSH2_ERROR_EAGAIN, in src/sftp.c - CVE-2026-66032
osv:CLSA-2026-1786478067
libssh2-1
Fixed versions: 1.8.0-1ubuntu0.1+tuxcare.els3
libssh2-1-dev
Fixed versions: 1.8.0-1ubuntu0.1+tuxcare.els3
Complete source record
{
"id": "7328703d3cab9041ccd903cfa6bcd08f6759d41240db17707ebb56a4b17e8b7c",
"url": "https://osv.dev/vulnerability/CLSA-2026-1786478067",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Fix CVE(s): CVE-2026-66032",
"summary": "* SECURITY UPDATE: double free in sftp_open() reachable by a malicious SSH server against an authenticated client opening an SFTP session - debian/patches/CVE-2026-66032.patch: NULL the response buffer after freeing it on the FX_OK path, so the if(badness) arm cannot free the same stale pointer a second time when sftp_packet_require() fails with anything other than LIBSSH2_ERROR_EAGAIN, in src/sftp.c - CVE-2026-66032",
"evidence": "osv:CLSA-2026-1786478067",
"products": [
{
"name": {
"value": "libssh2-1",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.8.0-1ubuntu0.1+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-1ubuntu0.1+tuxcare.els3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2026-1786478067",
"aliases": [
"CLSA-2026-1786478067"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.0-1ubuntu0.1+tuxcare.els3"
}
]
}
],
"package": {
"name": "libssh2-1",
"purl": "pkg:deb/tuxcare/libssh2-1?distro=ubuntu-18.04",
"ecosystem": "TuxCare:Ubuntu:18.04"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1786478067.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.0-1ubuntu0.1+tuxcare.els3"
}
]
}
],
"package": {
"name": "libssh2-1-dev",
"purl": "pkg:deb/tuxcare/libssh2-1-dev?distro=ubuntu-18.04",
"ecosystem": "TuxCare:Ubuntu:18.04"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1786478067.json"
}
}
],
"modified": "2026-10-26T09:30:42.804375937Z",
"provider": "osv",
"upstream": [
"CVE-2026-66032"
],
"references": [
"https://errata.tuxcare.com/els_os/ubuntu18.04els/CLSA-2026-1786478067.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": 447192,
"published_at": "2026-08-11T19:54:37+00:00"
}