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

CVE-2026-16516

wolfSSH ECDSA host key curve not validated against negotiated algorithm

Publiée le 7 oct. 2026 · modifiée le 13 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 35/100

Résumé

wolfSSH does not validate that the ECDSA curve identifier in a KEXDH_REPLY host key blob matches the algorithm negotiated during key exchange. In ParseECCPubKey() (src/internal.c), the blob's algorithm string is used to derive the curve via NameToId/wcPrimeForId without checking against the negotiated ssh->handshake->pubKeyId, and the RFC 5656 curve identifier string is discarded via GetSkip() rather than compared. An active network man-in-the-middle attacker can substitute a host key blob containing a different ECDSA curve, causing the client to import the key on the wrong curve. Because the attacker controls the private key for the substituted curve, signature verification passes. Exploitation requires an active MitM position and a lax public key check callback (e.g., TOFU, algorithm-name-only check, or fingerprint match against the parsed key).

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

Produits et versions affectés

Wolfssl (1 ligne(s))
Wolfssl
ProduitVersionsCorrigé dansSource
wolfSSH jusqu’à 1.5.0 (inclus) — CNA (éditeur ou attributeur)
Wolfssh (1 ligne(s))
Wolfssh
ProduitVersionsCorrigé dansSource
Wolfssh avant 1.6.0 (exclu) — 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)

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:H/PR:N/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-345 · Autre (CWE-345)

Comment sont obtenues et calculées ces données