CVE-2026-16516
CVE-2026-16516 — wolfSSH ECDSA host key curve not validated against negotiated algorithm
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).
Published Updated Sources: NVD, wolfSSL Inc. (CNA), GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
9.0
critical
Remediation
The vendor's own words where we have them.
Upgrade wolfSSH to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| wolfSSL Inc. | wolfSSH | 0 to <= 1.5.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Scope
X
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.0 | CVSS 4.0 | critical | n/a | n/a | wolfSSL Inc. (CNA) |
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
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-345 · Insufficient Verification of Data Authenticity
- Varies by Context
- Unexpected State::
Weakness & attack patterns
- CWE-345
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1557.002Adversary-in-the-Middle: ARP Cache Poisoning
- T1584.002Compromise Infrastructure: DNS Server
- T1491Defacement
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
3
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /internal.c), /wcPrimeForId.
- Prioritize edge telemetry for network-reachable wolfSSH.
- Monitor for scanner or exploit-pattern traffic after 3 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.0 (AV:N)
Oct 7, 2026 · NVD
Initial · CVE published
Oct 7, 2026 · NVD
Added · GHSA-c487-h25j-24jq published (critical)
Oct 7, 2026 · GitHub Security Advisory
CVE published by MITRE.
Oct 7, 2026 · SOCRadar CTI
References
4 on the record
- github.com/wolfSSL/wolfssh/commit/31d13697a608fa1bf9eec11aa6eff1503ade836f
Exploit, Third Party Advisory, NIST
- github.com/wolfSSL/wolfssh/issues/1012
Exploit, Third Party Advisory, Mitre, NIST
- nvd.nist.gov/vuln/detail/CVE-2026-16516
NVD
- github.com/advisories/GHSA-c487-h25j-24jq
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2022-26871 Trend Micro Apex Central Arbitrary File Upload VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2023-38831 RARLAB WinRAR Code Execution VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-28185 WordPress Log in with Google plugin <= 1.4.2 - Broken Authentication vulnerabilityCVSS 9.8
- CVE-2026-119356 IBM Concert Software Insufficient Verification of Data AuthenticityCVSS 9.1
- CVE-2023-20576 Insufficient Verification of Data Authenticity in AGESA™ may allow an attacker to update SPI ROM data potentially resulting in denial of…CVSS 7.7
- CVE-2026-134785 Bagisto MangoPay Payment Gateway Success Callback MangoPayStandardController.php success data authenticityCVSS 5.3
Elsewhere on this site
- wolfSSL Inc.every CVE for this vendor
- Unclassifiedsame class
- CWE-345other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-16516 is wolfSSH ECDSA host key curve not validated against negotiated algorithm, a critical vulnerability affecting wolfSSH from wolfSSL Inc.. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-16516. Public exploit evidence is: 3 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.