DEBIAN-CVE-2026-66032
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.
DEBIAN-CVE-2026-66032
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-66032
libssh2
Source reference: /affected/0/package/name
- Affected versions
- 1.10.0-3
Source reference:
/affected/0/versions - Fixed versions
- 1.10.0-3+deb12u1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
libssh2
Source reference: /affected/1/package/name
- Affected versions
- 1.11.1-1
Source reference:
/affected/1/versions1.11.1-1+deb13u1Source reference:
/affected/1/versions - Fixed versions
- 1.11.1-1+deb13u2
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
libssh2
Source reference: /affected/2/package/name
- Affected versions
- 1.11.1-1
Source reference:
/affected/2/versions1.11.1-2Source reference:
/affected/2/versions1.11.1-3Source reference:
/affected/2/versions1.11.1-4Source reference:
/affected/2/versions - Fixed versions
- 1.11.1-5
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.10.0-3+deb12u1"
}
]
}
],
"package": {
"name": "libssh2",
"purl": "pkg:deb/debian/libssh2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.10.0-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66032.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.1-1+deb13u2"
}
]
}
],
"package": {
"name": "libssh2",
"purl": "pkg:deb/debian/libssh2?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.11.1-1",
"1.11.1-1+deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66032.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.11.1-5"
}
]
}
],
"package": {
"name": "libssh2",
"purl": "pkg:deb/debian/libssh2?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.11.1-1",
"1.11.1-2",
"1.11.1-3",
"1.11.1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66032.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #58444 · Revision 1
- Added to Heist Feed
- Publisher date