Double Free Affecting libssh2-docs package, versions <0:1.8.0-4.0.1.el7_9.1


Severity

Recommended
0.0
high
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.53% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE7-LIBSSH2DOCS-22566522
  • published16 Nov 2026
  • disclosed24 Jul 2026

Introduced: 24 Jul 2026

CVE-2026-66032  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Oracle:7 libssh2-docs to version 0:1.8.0-4.0.1.el7_9.1 or higher.
This issue was patched in ELSA-2026-61752-0.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh2-docs package and not the libssh2-docs package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

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 Base Scores

version 3.1