Skip to main content

wolfSSL CVE-2026-89136

| EUVDEUVD-2026-87911 HIGH
Improper Authentication (CWE-287)
2026-09-27 wolfSSL GHSA-qqgw-76jp-m5f3
8.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Position as malicious or on-path TLS server
  2. Delivery
    Client initiates handshake without offering RPK
  3. Exploit
    Inject unsolicited server_cert_type=RawPublicKey
  4. Execution
    Client accepts and skips chain verification
  5. Persist
    Complete handshake with attacker key
  6. Impact
    Impersonate peer / man-in-the-middle traffic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a wolfSSL build compiled with RPK support (HAVE_RPK via --enable-rpk, --enable-all, or --enable-distro) - off in default builds. The victim must be the CLIENT side of a TLS 1.2, TLS 1.3, or DTLS 1.2 connection, and the attacker must be a malicious server the client connects to or an on-path (MITM) actor able to inject the unsolicited server_cert_type=RawPublicKey extension. Because the client never offered RPK, exploitation depends entirely on this non-default compile-time feature being enabled; deployments without HAVE_RPK are unaffected. No user interaction or prior authentication is needed once RPK is enabled.

Impact

Signals conflict between raw score and real-world reachability. Vendor CVSS 4.0 is 8.3 (High) with AV:N/AC:L/PR:N/UI:N, but the AT:P (attack requirement present) metric already reflects that RPK is a non-default build feature. The description confirms this: RPK is OFF by default and only compiled in HAVE_RPK builds (--enable-rpk, --enable-all, or --enable-distro), which sharply narrows the exposed population versus wolfSSL's overall footprint. This is a genuine authentication-bypass weakness (CWE-287) - a client accepting an unsolicited server_cert_type=RawPublicKey lets a malicious or on-path server skip chain verification and impersonate the intended peer - but it is not a drop-in remote exploit against stock deployments. No EPSS score, no CISA KEV listing, and no public exploit code were provided; the only reference is the fixing PR #11009. SSVC framing: exploitation status is none-observed, automatable is unlikely (needs an RPK-enabled client plus a malicious/MITM server position), technical impact is partial-to-total for authenticity. Net: a real defect worth patching for anyone who has deliberately enabled RPK, but low practical priority for the typical wolfSSL user who never turns RPK on. Note the vendor scored confidentiality only VC:L; for a realistic MITM outcome confidentiality impact is arguably higher - verify against your own threat model.

Exploit ScenarioDerived

A wolfSSL client built with HAVE_RPK connects (over TLS 1.2/1.3 or DTLS 1.2) to a server it should authenticate by certificate. A malicious or on-path server injects a server_cert_type=RawPublicKey extension the client never offered; the client stores it as negotiated and skips X.509 chain verification, allowing the server to authenticate with an arbitrary raw public key and impersonate the legitimate endpoint (MITM). No public exploit code was identified - the only reference is the fixing PR.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 27, 2026

Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path server to force acceptance of an unsolicited server_cert_type=RawPublicKey extension during a TLS 1.2, TLS 1.3, or DTLS 1.2 handshake, causing the client to treat RPK as the negotiated credential form and skip normal certificate-chain verification. Only builds compiled with HAVE_RPK (--enable-rpk, --enable-all, or --enable-distro) are exposed; default builds are unaffected, and exploitation additionally requires the victim to act as the client connecting to the attacker-controlled server (or an on-path injector) with no user interaction, as reflected by PR:N in the vector. There is no public exploit identified at time of analysis and no CISA KEV listing, though the raw CVSS 4.0 base score of 8.3 contrasts sharply with the non-default, compile-time-gated reachability captured in the independent CVSS 3.1 assessment (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N), so the practical risk is concentrated in RPK-enabled deployments.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the change set in wolfSSL PR #11009 (https://github.com/wolfSSL/wolfssl/pull/11009) or upgrade to the first wolfSSL release that contains it once published. The most direct compensating control is to stop building with RPK: replace --enable-rpk, --enable-all, or --enable-distro with an explicit option list that omits RPK, which eliminates HAVE_RPK and the vulnerable code paths entirely - the trade-off is loss of RFC 7250 raw-public-key authentication, which matters for constrained/IoT and DTLS deployments that rely on it. If RPK must remain enabled, backport the offered-vs-received validation in TLSX_ServerCertificateType_Parse and TLSX_ClientCertificateType_Parse plus the rpkState counter reset in wolfSSL_get_client_random()'s handshake-reset path; note that backporting only the cert-type checks without the counter reset leaves residual cross-handshake state, and that the PR also contains unrelated X.509 chain-building and buffer-hardening changes that should be reviewed separately. Additionally, treat the requirement that the client connect to an attacker-controlled or intercepted server as a reachability limiter: avoid RPK-enabled clients connecting to untrusted endpoints, and where feasible use certificate pinning or strict peer-name verification on top of the handshake to detect acceptance of a raw public key where an X.509 chain was expected.

Affected VersionsENISA

wolfSSL 5.6.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

wolfSSL is an embedded-focused TLS/DTLS library. Raw Public Key authentication is the RFC 7250 (and TLS 1.3 / RFC 8446 Section 4.2) mechanism in which peers exchange bare public keys instead of X.509 chains, negotiated via the server_cert_type and client_cert_type extensions. The vulnerability is rooted in CWE-287 (Improper Authentication): in TLSX_ServerCertificateType_Parse (src/tls.c) and TLSX_ClientCertificateType_Parse, wolfSSL accepted a cert-type value from the peer without verifying that the value had actually been offered by the local side, i.e. without checking sending_ServerCertTypeCnt/sending_ClientCertTypeCnt and membership in the locally sent type list. Because ProcessPeerCertParse() treats the stored cert type as already negotiated, an unsolicited server_cert_type=RawPublicKey from a malicious or MITM server made the client believe RPK was agreed upon and bypass chain verification entirely. The upstream fix (PR #11009) adds an offered-vs-received binding check that sends a fatal unsupported_extension alert whenever the received type was never offered or is not in the offered list, and also clears the rpkState cert-type counters on handshake reset so one peer's choice cannot leak into a subsequent handshake. The same PR bundles unrelated hardening in wolfSSL_X509_verify_cert (correct removal of temporarily loaded intermediates and verification against an actual trust anchor) and zeroing of dynamic output buffers, so care should be taken when backporting.

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 8.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.4 HIGH

Network-reachable and unauthenticated (PR:N), but AC:H reflects the non-default RPK build requirement plus needing a malicious/on-path server; auth bypass enables MITM so C:H/I:H, no availability impact.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

DescriptionCVE.org

When using RPK (Raw Public Key), the client side of a TLS 1.2, 1.3 and DTLS 1.2 connection could accept an unsolicited server_cert_type=RawPublicKey which allowed a malicious or misbehaving server to bypass authentication. RPK is off by default and only enabled in --enable-rpk OR --enable-all OR --enable-distro AKA HAVE_RPK builds.

Technical POC Analysis

Bug class: CWE-287 (Improper Authentication).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

wolfSSL TLS clients compiled with Raw Public Key (RPK) support are vulnerable to an authentication bypass that allows a malicious or on-path server to force the client to skip certificate-chain verification and accept RPK as the negotiated credential form. Organizations using non-default wolfSSL builds with HAVE_RPK enabled (via --enable-rpk, --enable-all, or --enable-distro) for TLS 1.2, TLS 1.3, or DTLS 1.2 client connections are at risk of man-in-the-middle attacks and credential compromise. While no public exploit identified at time of analysis, leadership should prioritize identifying affected deployments because no vendor-released patch is currently available and the flaw undermines TLS trust for those specific builds.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: recompile wolfSSL without HAVE_RPK (--enable-rpk, --enable-all, or --enable-distro) if RPK is not required; enforce certificate pinning or application-layer certificate-chain verification; restrict outbound TLS/DTLS connections to trusted servers; monitor network traffic for unsolicited server_cert_type=RawPublicKey extensions; and isolate affected systems until a patch is available.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Medium
wolfSSL widely embedded, but vulnerable RPK feature is non-default
Social Media
2
Sightings
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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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-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

CVE-2015-7744 MEDIUM POC
5.9 Jan 22

wolfSSL (formerly CyaSSL) before 3.6.8 does not properly handle faults associated with the Chinese Remainder Theorem (CR

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