UBUNTU-CVE-2026-66032

Source
https://ubuntu.com/security/CVE-2026-66032
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-66032
Upstream
Published
2026-07-24T17:17:00Z
Modified
2026-07-29T08:01:44Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the sftpopen() 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 SSHFXPOPEN with SSHFXPSTATUS containing FXOK, the response data buffer is freed, and if a subsequent sftppacketrequire() call returns a specific error such as LIBSSH2ERRORCHANNELPACKETEXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.

References

Affected packages

Ubuntu:18.04:LTS
libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.8.0-1
1.8.0-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.8.0-1ubuntu0.1",
            "binary_name": "libssh2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json"
Ubuntu:20.04:LTS
libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.8.0-2.1build1
1.8.0-2.1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.8.0-2.1ubuntu0.1",
            "binary_name": "libssh2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json"
Ubuntu:22.04:LTS
libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.9.0-3
1.10.0-2
1.10.0-2build1
1.10.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.10.0-3",
            "binary_name": "libssh2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json"
Ubuntu:24.04:LTS
libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.11.0-2
1.11.0-3
1.11.0-4
1.11.0-4.1build1
1.11.0-4.1build2
1.11.0-4.1ubuntu0.24.04.1
1.11.0-4.1ubuntu0.24.04.2
1.11.0-4.1ubuntu0.24.04.3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.11.0-4.1ubuntu0.24.04.3",
            "binary_name": "libssh2-1t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json"
Ubuntu:26.04:LTS
libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.11.1-1build1
1.11.1-1build2
1.11.1-1ubuntu0.26.04.1
1.11.1-1ubuntu0.26.04.2
1.11.1-1ubuntu0.26.04.3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.11.1-1ubuntu0.26.04.3",
            "binary_name": "libssh2-1t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json"
Ubuntu:Pro:14.04:LTS
libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.3-1
1.4.3-2
1.4.3-2ubuntu0.1
1.4.3-2ubuntu0.2
1.4.3-2ubuntu0.2+esm1
1.4.3-2ubuntu0.2+esm2
1.4.3-2ubuntu0.2+esm3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.4.3-2ubuntu0.2+esm3",
            "binary_name": "libssh2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json"
Ubuntu:Pro:16.04:LTS
libssh2

Package

Name
libssh2
Purl
pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.5.0-2
1.5.0-2ubuntu0.1
1.5.0-2ubuntu0.1+esm1
1.5.0-2ubuntu0.1+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.5.0-2ubuntu0.1+esm2",
            "binary_name": "libssh2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66032.json"