CVE-2026-16516
High 7.4 P4 · Monitor (12/100)wolfSSH does not validate that the ECDSA curve identifier in a KEXDH_REPLY host key blob matches the algorithm negotiated during key exchan…
Confirmed facts from the sources
- CVSS
- 7.4 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Scored by nvd@nist.gov - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.18 % · percentile 4.5 % (as of 30.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- No reference to a public exploit.
- Fix
- Fix available
- Monitored technologies
- No monitored technology
Description (source)
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).
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| wolfSSL Inc. wolfSSH | <= 1.5.0 | — | nvd |
| wolfssh wolfssh | < 1.6.0 | — | nvd |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
- github.com (Patch)
- github.com (Mitigation)
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P4 · Monitor (12/100)
- Estimated exploitation probability 0.18 % (EPSS, percentile 4.5 %) – an estimate, not confirmation (+0)
- Technical severity: CVSS 7.4 (HIGH) – on its own not a reason for top priority (+12)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-16516 · nvd
- Mitigation https://github.com/wolfSSL/wolfssh/issues/1012 · facts@wolfssl.com
- Patch https://github.com/wolfSSL/wolfssh/commit/31d13697a608fa1bf9eec11aa6eff1503ade836f · facts@wolfssl.com