Amenazas en vivo

Todas las CVE / Wolfssh

CVE-2026-16516Wolfssh

Validación insuficiente de curva ECDSA en intercambio de claves en wolfSSH

Crítica 9.0 Sin autenticación

Prioridad
69
CVSS 4.0
9.0
EPSS
—
Requiere autenticación
No
Publicada
7 oct 2026
Actualizada
13 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-345
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

wolfSSH no valida que el identificador de curva ECDSA en el blob de clave de host KEXDH_REPLY coincida con el algoritmo negociado. Un atacante en posición de intermediario activo puede sustituir el blob de clave de host con una curva ECDSA diferente, lo que permite que el cliente importe la clave en la curva incorrecta y que la verificación de firma pase. La explotación requiere una posición de intermediario activo y una verificación de clave pública laxa.

Ver el texto original de NVD (en inglés)

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

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 1.6.0

Actualiza wolfSSH a la versión 1.6.0 o posterior para validar correctamente la curva ECDSA durante el intercambio de claves.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para Wolfssh.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados (CPE)

FabricanteProductoVersiones
wolfsshwolfssh< 1.6.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.