1. Accueil
  2. Vulnérabilités
  3. CVE-2026-66032

CVE-2026-66032

libssh2 Double-Free Heap Corruption via sftp_open()

Publiée le 24 juil. 2026 · modifiée le 10 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 50/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Libssh2 (2 ligne(s))
Libssh2
ProduitVersionsCorrigé dansSource
Libssh2 jusqu’à 1.11.1 (inclus) — CNA (éditeur ou attributeur)
Libssh2 jusqu’à 1.11.1 (inclus) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:disclosure@vulncheck.com)
Faiblesse
CWE-415 · Corruption mémoire

Comment sont obtenues et calculées ces données