8.8

CVE-2026-66032: libssh2 Double-Free Heap Corruption via sftp_open()

Modified
AliasesUBUNTU-CVE-2026-66032DEBIAN-CVE-2026-66032CGA-3xq4-995h-jpcq
Published 24-07-2026Last modified 10-11-2026

Vulnerability summary

CVE-2026-66032 is a high (CVSS 8.8) Double Free vulnerability in libssh2. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 49.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.58%
0%100%
Low · +0.13 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 17 · Related 13

Timeline

  1. 24-07-2026
    PublishedVulnerability first disclosed.
  2. 10-11-2026
    Last modifiedVulnerability information updated.

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 metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.58%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

Increase +0.13 pp

From 0.45% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • libssh2All versions (No fix recorded)
  • libssh2-devAll versions (No fix recorded)
  • libssh2-docAll versions (No fix recorded)
Wolfi3 products
  • libssh2All versions (No fix recorded)
  • libssh2-devAll versions (No fix recorded)
  • libssh2-docAll versions (No fix recorded)
Alpine1 product
  • libssh2< 1.11.1-r3 | < 1.11.1-r4
Debian1 product
  • libssh2< 1.10.0-3+deb12u1 | < 1.11.1-1+deb13u2 | < 1.11.1-5
Libssh21 product
Ubuntu1 product
  • libssh2< 1.4.3-2ubuntu0.2+esm4 | < 1.5.0-2ubuntu0.1+esm3 | < 1.8.0-1ubuntu0.1+esm1 | < 1.8.0-2.1ubuntu0.1+esm1 | < 1.10.0-3ubuntu0.1 | < 1.11.0-4.1ubuntu0.24.04.4 | < 1.11.1-1ubuntu0.26.04.4

6 vendors · 10 products

References

13 links
Show all 13 references