PT-2026-107386

CVE-2026-16516

·

Published

2026-10-07

·

Updated

2026-10-08

Description by

CVSS 4.0
9.0
Critical
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N
Name of the Vulnerable Software and Affected Versions wolfSSH (affected versions not specified)
Description wolfSSH fails to validate that the ECDSA curve identifier in a KEXDH REPLY host key blob matches the algorithm negotiated during key exchange. In the ParseECCPubKey() function, the blob's algorithm string is used to derive the curve via NameToId/wcPrimeForId without verifying it against the negotiated ssh->handshake->pubKeyId. Additionally, the RFC 5656 curve identifier string is discarded via GetSkip() instead of being compared. A man-in-the-middle attacker can substitute a host key blob with a different ECDSA curve, leading the client to import the key on the wrong curve. Since the attacker controls the private key for the substituted curve, signature verification succeeds. This requires an active man-in-the-middle position and a lax public key check callback, such as Trust On First Use (TOFU), algorithm-name-only checks, or fingerprint matches against the parsed key.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾