Skip to main content

wolfSSL EUVDEUVD-2026-87909

| CVE-2026-93304 MEDIUM
Incorrect Behavior Order (CWE-696)
2026-09-27 wolfSSL GHSA-vpg5-xh2g-4x3c
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain on-path/MITM position (or impersonate PSK server)
  2. Delivery
    Send out-of-order ChangeCipherSpec before ClientKeyExchange
  3. Exploit
    Client installs read keys from known deterministic key
  4. Execution
    Complete handshake and pass Finished check as server
  5. Impact
    Inject attacker data client accepts as authentic

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect behavior order
Exploitation Conditions

Target must be a wolfSSL (D)TLS 1.2 CLIENT. DTLS 1.2 clients are exposed in default configuration because a single datagram read can deliver the out-of-order ChangeCipherSpec records. TLS 1.2 clients are exposed ONLY when the application feeds received bytes via wolfSSL_inject() or enables read-ahead. For certificate-based cipher suites the attacker must hold a man-in-the-middle (on-path) position; for PSK suites, any rogue server can succeed without knowing the pre-shared key. Limiting factors: TLS/DTLS 1.3 are not affected by this ChangeCipherSpec ordering issue; the attacker cannot read the client's outbound traffic (client keys are correctly derived); the genuine server never completes the handshake; and timing/positioning requirements (AC:H, AT:P) make opportunistic mass exploitation impractical outside the PSK case.

Impact

This is a genuine but bounded protocol-security flaw, not a headline-critical one. The vendor CVSS 4.0 vector (6.3, AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L) is internally consistent with the description: no confidentiality loss (the attacker cannot read the client's traffic, which still uses correctly derived keys), integrity-limited impact (the attacker injects data the client accepts as authentic), and no availability metric despite the genuine session being broken. AC:H/AT:P are justified because exploitation depends on delivering an out-of-order ChangeCipherSpec at the right handshake moment and, for certificate suites, on holding a man-in-the-middle position. No EPSS score, no CISA KEV listing, and no public exploit are present in the provided data - so this is not confirmed as exploited, only as a self-reported vendor fix. The one signal that RAISES real-world concern above the raw score is the PSK case: any fake server can complete the handshake without knowing the PSK, which is effectively a server-authentication bypass rather than a mere data-injection nuisance, and DTLS 1.2 clients are exposed by default because a single datagram read can deliver the offending records. Overall: a legitimate priority for embedded/IoT deployments using wolfSSL DTLS 1.2 or PSK, but low urgency for the general population given AC:H, no known exploitation, and the confidentiality-safe/one-directional nature of the attack.

Exploit ScenarioDerived

An attacker on the network path (or, for PSK, any impersonating server) sends a ChangeCipherSpec to a wolfSSL (D)TLS 1.2 client before the client has sent its ClientKeyExchange; the client installs read keys derived from a known deterministic key and validates the server's Finished against that same key, letting the attacker complete the handshake in the server's place and feed the client attacker-controlled data it treats as authentic. For a DTLS 1.2 client this can occur from a single crafted datagram; for TLS 1.2 it requires the application to use wolfSSL_inject() or read-ahead. No public exploit is identified at time of analysis, though the fix (PR #11458) documents the exact triggering condition.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 27, 2026

wolfSSL (D)TLS 1.2 clients can be tricked into accepting attacker-controlled application data as authentic: when a ChangeCipherSpec record arrives before the client has sent its ClientKeyExchange, no master secret has been derived, so the client installs read keys built from deterministic (all-zero) key material and then validates the attacker's Finished message against those same keys. DTLS 1.2 clients are exposed in their default configuration because a single datagram read can deliver the out-of-order records on its own, while TLS 1.2 clients are exposed only when the application feeds received bytes through wolfSSL_inject() or enables read-ahead; for certificate-based suites the attacker must additionally hold an on-path man-in-the-middle position, whereas for PSK suites any rogue server succeeds without knowing the pre-shared key. The client's own outbound traffic remains protected by correctly derived keys, the genuine server never completes the handshake, and no public exploit code or CISA KEV entry was identified at time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Track and adopt a wolfSSL release that contains pull request 11458 (https://github.com/wolfSSL/wolfssl/pull/11458), whose key change is a new ordering check in SanityCheckMsgReceived that rejects a ChangeCipherSpec received before ClientKeyExchange with OUT_OF_ORDER_E; because the CPE is unpinned, confirm the state of your vendored wolfSSL version against the pull request before assuming you are fixed, and note the PR bundles other unrelated fixes (RPK certificate parsing, TLS 1.3 session ID) that will also land with it. Where client interoperability allows, constrain affected clients to TLS 1.3 or DTLS 1.3, which are not impacted by this CCS ordering issue, at the cost of losing the ability to talk to 1.2-only endpoints. For TLS 1.2 clients, remove use of wolfSSL_inject() to feed received bytes and disable read-ahead, understanding that this compensating control does not protect DTLS 1.2 clients, which remain exposed even in the default datagram-driven configuration. Where the deployment permits it, prefer certificate-based cipher suites over PSK suites on the client side, since the PSK path removes the man-in-the-middle precondition and lets any rogue server forge an acceptable handshake without knowing the pre-shared key; the trade-off is losing the performance and provisioning simplicity of PSK. Because the genuine server never completes the affected handshake, monitor client-side logs for anomalous or never-completing handshakes as a detection signal; no public exploit code was identified at time of analysis.

Affected VersionsENISA

wolfSSL 4.7.0 ≤5.9.2

Affected Packages

euvd wolfssl no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

In the TLS 1.2 handshake the ChangeCipherSpec (CCS) record is supposed to be sent only after the client transmits ClientKeyExchange, the point at which the pre-master secret and the derived master secret become available. CVE-2026-93304 is a CWE-696 (Incorrect Behavior Order) flaw: wolfSSL's receive-side message-ordering validation in src/internal.c (SanityCheckMsgReceived) did not reject a CCS received while the client was still in the CLIENT_KEYEXCHANGE state. Because no master secret exists at that moment, the client derives its read keys from a known, deterministic value and, critically, checks the server's Finished against that same deterministic key. An attacker who can inject an out-of-order CCS (trivially in DTLS 1.2, where a single datagram may carry the sequence) can therefore complete the handshake in place of the real server and send records the client accepts as authentic, without ever knowing real key material or, in the PSK case, the pre-shared key. The client's write keys are still derived correctly, so the attacker cannot decrypt client-to-server traffic, and the legitimate server's handshake never completes. TLS 1.3 and DTLS 1.3 are not affected by this change-cipher-spec ordering issue because their key schedule and CCS handling differ. The upstream fix in PR 11458 adds an explicit state check that returns OUT_OF_ORDER_E when ssl->options.clientState is below CLIENT_KEYEXCHANGE_COMPLETE; the same pull request also contains unrelated hardening for raw public key (RFC 7250) certificate parsing and TLS 1.3 session-id handling, so the CCS ordering guard is the change relevant to this CVE. The wildcard CPE cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* indicates the researcher did not constrain the report to a specific released version, so all builds before the fix branch should be considered potentially affected.

Know when Wolfssl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wolfSSL) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network attacker, no auth (PR:N), but requires on-path/MITM or precise out-of-order timing (AC:H); confidentiality unaffected since client traffic uses valid keys (C:N), integrity-limited data injection (I:L).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A (D)TLS 1.2 client can accept a ChangeCipherSpec message before it has sent its ClientKeyExchange. No master secret has been derived at that point, so the client installs read keys derived from a known (deterministic) key and checks the server's Finished against that same key. An out-of-order ChangeCipherSpec can therefore be used by an attacker to complete the handshake in place of the server and send data the client accepts as authentic. The client's own traffic still uses correctly derived keys, so the attacker cannot read it, and the genuine server never completes the handshake. DTLS 1.2 clients are exposed because a datagram read can deliver the out-of-order records on its own. TLS 1.2 clients are exposed when the application supplies received bytes with wolfSSL_inject() or enables read ahead. For certificate suites, the attacker must be in a man-in-the-middle position. For PSK (Pre Shared Key) connections, any fake server can succeed without knowing the PSK.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
widely used embedded/IoT TLS library, not ubiquitous like OpenSSL
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2017-13099 HIGH POC
7.5 Dec 13

wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i

CVE-2017-2800 CRITICAL POC
9.8 May 24

A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting

CVE-2026-89136 HIGH POC
8.3 Sep 27

Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve

CVE-2026-93302 HIGH POC
8.3 Sep 27

wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C

CVE-2026-89102 HIGH POC
8.3 Sep 27

Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce

CVE-2015-6925 HIGH POC
7.5 Jan 22

wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra

CVE-2022-39173 HIGH POC
7.5 Sep 29

In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (

CVE-2022-38152 HIGH POC
7.5 Aug 31

An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita

CVE-2020-11713 HIGH POC
7.5 Apr 12

wolfSSL 4.3.0 has mulmod code in wc_ecc_mulmod_ex in ecc.c that does not properly resist timing side-channel attacks. Ra

CVE-2019-18840 HIGH POC
7.5 Nov 09

In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh

CVE-2020-15309 HIGH POC
7.0 Aug 21

An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).

CVE-2020-24613 MEDIUM POC
6.8 Aug 24

wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy