Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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… (CVE-2026-66032)

0
Medium
Published: 07/24/2026 (07/24/2026, 17:17:00 UTC)
Source: GCVE Database
Product: libssh2

Description

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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=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
Ubuntu:Pro:16.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=esm-apps/xenial
Affected versions
=1.5.0-2=1.5.0-2ubuntu0.1=1.5.0-2ubuntu0.1+esm1=1.5.0-2ubuntu0.1+esm2
Ubuntu:18.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=bionic
Affected versions
=1.8.0-1=1.8.0-1ubuntu0.1
Ubuntu:20.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=focal
Affected versions
=1.8.0-2.1build1=1.8.0-2.1ubuntu0.1
Ubuntu:22.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=jammy
Affected versions
=1.9.0-3=1.10.0-2=1.10.0-2build1=1.10.0-3
Ubuntu:24.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=noble
Affected versions
=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
Ubuntu:26.04:LTSmore threats →ghsa
libssh2
pkg:deb/ubuntu/libssh2?arch=source&distro=resolute
Affected versions
=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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-66032
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a984573acd9273b496ad581

Added to database: 09/02/2026, 15:49:07 UTC

Last updated: 09/02/2026, 15:49:07 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses