CVEBrief

Home / wolfSSL Inc. / wolfSSH / CVE-2026-84897

CVE-2026-84897: is it exploited, and which versions of wolfSSL Inc. wolfSSH are affected and fixed?

CVE-2026-84897 is an incomplete Internal State Distinction vulnerability in wolfSSL Inc. wolfSSH. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: wolfSSH from 1.2.0 through 1.5.0 (CVE record by wolfSSL). Fixed in 1.6.0 (CVE record by wolfSSL). Severity: Medium (6.9, CVSS 4.0, from wolfSSL).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:06 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 15:09 UTC
Affected
wolfSSH from 1.2.0 through 1.5.0
CVE record by wolfSSL
Fixed in
1.6.0
CVE record by wolfSSL
Severity
Medium 6.9
CVSS 4.0 from wolfSSL
Exploit odds (EPSS)
0.48% in 30 days
higher than 43% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-84897?

wolfSSH server accepts server-to-client DH group exchange messages from an unauthenticated client, causing pre-authentication primality-test CPU exhaustion and key exchange role confusion

src/internal.c in wolfSSL wolfSSH through 1.5.0 admits the server-to-client Diffie-Hellman group exchange messages SSH_MSG_KEX_DH_GEX_GROUP (31) and SSH_MSG_KEX_DH_GEX_REPLY (33) when a server receives them from an unauthenticated client. IsMessageAllowedServer() applies no direction check to the key exchange message range: when the peer is keying and no particular message is expected, which is the state a server is in for the whole window after it processes the client's KEXINIT because nothing sets handshake->expectMsgId there, the function falls out of its expectation branch without a verdict and reaches a numeric bound that admits every message id from 30 through 34. A client that negotiates diffie-hellman-group-exchange-sha256 and then sends message 31 makes the server run the client-side handler DoKexDhGexGroup(), which validates the attacker-supplied group with two 8-round Miller-Rabin primality tests, one on p and one on (p-1)/2, on a value of up to 8192 bits. The handler then returns success: the server stores the attacker's prime and generator, generates a Diffie-Hellman key pair in the attacker's group, and sends the client-role message SSH_MSG_KEX_DH_GEX_INIT (32) back to the attacker. Published RFC 3526 safe primes are the worst-case input and cost the attacker nothing to obtain. The primality validation was added in 1.5.0; versions from 1.2.0 through 1.4.22 admit the same message and enter the same client-role path without the primality cost. Message 33 is admitted as well, but on a server it is rejected before any cryptography because no public key check callback is registered, so it carries no comparable cost. Builds that define WOLFSSH_NO_DH_GEX_SHA256, which is implied by WOLFSSH_NO_DH or NO_SHA256, are unaffected.

From the CVE record by wolfSSL, last updated October 7, 2026, 18:37 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
wolfSSL Inc.wolfSSHfrom 1.2.0 through 1.5.01.6.0

As the CVE record by wolfSSL states it, last updated October 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
wolfsshwolfsshfrom 1.2.0 before 1.6.0application

NVD analysis (status Analyzed), last modified October 13, 2026, 14:27 UTC.

How severe is CVE-2026-84897?

ScoreVersionVectorSource
Medium 6.9CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/AU:YwolfSSL
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-84897 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 7, 2026)
EPSS
0.48% probability of exploitation activity in the next 30 days, percentile 43.3 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

Build wolfSSH with WOLFSSH_NO_DH_GEX_SHA256 defined so that diffie-hellman-group-exchange-sha256 is neither offered nor accepted, which removes the message 31 dispatch path entirely. Where group exchange must stay available, lowering WOLFSSH_DEFAULT_GEXDH_MAX reduces the size of the value a peer can submit for primality testing and so the cost of a single packet, but it does not stop a server from accepting the message.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
September 2, 2026
Published
October 7, 2026, 02:42 UTC
CVE record updated
October 7, 2026, 18:37 UTC by wolfSSL
NVD
Analyzed, last modified October 13, 2026, 14:27 UTC
Last checked
CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect wolfSSH?

Every CVE in wolfSSH

Questions about CVE-2026-84897

Is CVE-2026-84897 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of wolfSSL Inc. wolfSSH are affected by CVE-2026-84897?

wolfSSH from 1.2.0 through 1.5.0, per the CVE record by wolfSSL. The tables above give every range the sources list.

Which version fixes CVE-2026-84897?

1.6.0, per the CVE record by wolfSSL. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-84897?

Medium (6.9, CVSS 4.0, from wolfSSL). The severity table above shows each score with its source.

Where is the official record of CVE-2026-84897?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.