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

CVE-2026-0966

Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()

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

Moyen 49/100

Résumé

A flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing zero-length input. This can be exploited remotely by an attacker during GSSAPI (Generic Security Service Application Program Interface) authentication if the server's logging verbosity is set to `SSH_LOG_PACKET (3)` or higher. Successful exploitation could lead to a self-Denial of Service of the per-connection daemon process.

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

Produits et versions affectés

Redhat (10 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Enterprise Linux 10 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 Hardened Images 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 8.0 — NVD
Enterprise linux 9.0 — NVD
Enterprise linux 10.0 — NVD
Hardened images Versions non précisées — NVD
Openshift container platform 4.0 — NVD
Libssh (1 ligne(s))
Libssh
ProduitVersionsCorrigé dansSource
Libssh avant 0.11.4 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Applications using libssh should avoid passing zero-length input to ssh_get_hexa(), ssh_get_fingerprint_hash(), and ssh_print_hexa(). For the remotely reachable GSSAPI authentication path, disable GSSAPI authentication in the affected libssh-based application if it is not required, or configure that application's libssh logging verbosity below SSH_LOG_PACKET (3). These measures address the GSSAPI logging path; they do not prevent other callers from passing zero-length input to the affected functions. Configuration and any required restart depend on the application using libssh. Changing the host's OpenSSH sshd_config or restarting the OpenSSH sshd service is not a general mitigation for applications using libssh. Apply the relevant vendor update containing the fix. Upstream fixed this issue in libssh 0.11.4 and 0.12.0; distribution packages may include a backported fix.

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

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-124 · Autre (CWE-124)

Comment sont obtenues et calculées ces données