1. Accueil
  2. Vulnérabilités
  3. CVE-2025-5351

CVE-2025-5351

Libssh: double free vulnerability in libssh key export functions

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

Moyen 41/100

Résumé

A flaw was found in the key export functionality of libssh. The issue occurs in the internal function responsible for converting cryptographic keys into serialized formats. During error handling, a memory structure is freed but not cleared, leading to a potential double free issue if an additional failure occurs later in the function. This condition may result in heap corruption or application instability in low-memory scenarios, posing a risk to system reliability where key export operations are performed.

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

Produits et versions affectés

Libssh (2 ligne(s))
Libssh
ProduitVersionsCorrigé dansSource
Libssh de 0.10.0 (inclus) à 0.11.2 (exclu) — CNA (éditeur ou attributeur)
Libssh de 0.10.0 (inclus) à 0.11.2 (exclu) — NVD
Redhat (12 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Enterprise Linux 10 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 6 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 7 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat OpenShift Container Platform 4 Versions non précisées — CNA (éditeur ou attributeur)
Enterprise linux 6.0 — NVD
Enterprise linux 7.0 — NVD
Enterprise linux 8.0 — NVD
Enterprise linux 9.0 — NVD
Enterprise linux 10.0 — NVD
Openshift container platform 4.0 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Administrators should apply vendor-supplied patches as soon as they become available.

Source : CNA (éditeur ou attributeur)

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-1626)

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:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:secalert@redhat.com)
Faiblesse
CWE-415 · Corruption mémoire

Comment sont obtenues et calculées ces données