Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition as malicious or on-path TLS server
-
DeliveryClient initiates handshake without offering RPK
-
ExploitInject unsolicited server_cert_type=RawPublicKey
-
ExecutionClient accepts and skips chain verification
-
PersistComplete handshake with attacker key
-
ImpactImpersonate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i
A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting
wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C
Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce
wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra
In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (
An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
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
In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh
An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).
wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t
wolfSSL (formerly CyaSSL) before 3.6.8 does not properly handle faults associated with the Chinese Remainder Theorem (CR
EUVD-2026-87911
GHSA-qqgw-76jp-m5f3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB