Skip to main content

CVE-2026-16516: CWE-345 Insufficient Verification of Data Authenticity in wolfSSL Inc. wolfSSH

0
Critical
VulnerabilityCVE-2026-16516cvecve-2026-16516cwe-345
Published: 10/07/2026 (10/07/2026, 02:38:23 UTC)
Source: CVE Database V5
Vendor/Project: wolfSSL Inc.
Product: wolfSSH

Description

wolfSSH contains a vulnerability where it does not verify that the ECDSA curve identifier in a host key blob matches the algorithm negotiated during key exchange. This allows an active man-in-the-middle attacker to substitute a host key blob with a different ECDSA curve, causing the client to import the key on the wrong curve and accept a malicious key. Exploitation requires an active MitM position and a lax public key check callback. The vulnerability affects wolfSSH versions prior to 1.6.0.

CVSS v4.0

Score 9.0critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
High
Subsq. Availability
None
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

Affected software

wolfSSL Inc.

wolfSSH

Affected versions
>=0 <1.6.0
GitHub Actionsmore threats →cve
wolfSSH
pkg:github/wolfSSH
Affected versions
>=0 <1.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/07/2026, 03:03:17 UTC

Technical Analysis

The vulnerability in wolfSSH (CVE-2026-16516) arises from insufficient verification of data authenticity (CWE-345). Specifically, in the ParseECCPubKey() function, the ECDSA curve identifier in the KEXDH_REPLY host key blob is not validated against the negotiated algorithm during key exchange. The algorithm string from the blob is used to derive the curve without cross-checking with the negotiated public key ID, and the RFC 5656 curve identifier string is discarded rather than compared. This flaw enables an active man-in-the-middle attacker to substitute a host key blob containing a different ECDSA curve. Because the attacker controls the private key for the substituted curve, signature verification succeeds, potentially allowing the attacker to impersonate the host. Exploitation requires an active MitM position and a weak public key verification callback such as trust-on-first-use (TOFU), algorithm-name-only checks, or fingerprint matching against the parsed key.

Potential Impact

An active network man-in-the-middle attacker can exploit this vulnerability to substitute the host key blob with one using a different ECDSA curve that the client accepts, enabling the attacker to impersonate the host. This compromises the authenticity of the key exchange and can lead to interception or manipulation of SSH sessions. The vulnerability requires an active MitM position and a lax public key verification callback on the client side.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should ensure strict public key verification callbacks that validate both the algorithm and key fingerprint, avoiding lax checks such as TOFU or algorithm-name-only verification. Monitoring vendor advisories for updates and applying official patches once released is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
wolfSSL
Date Reserved
2026-07-21T22:09:07.190Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac5b3212cdf04f65605f02c

Added to database: 10/07/2026, 02:49:05 UTC

Last enriched: 10/07/2026, 03:03:17 UTC

Last updated: 10/07/2026, 03:03:52 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses