Skip to main content

wolfSSL CVE-2026-55960

| EUVDEUVD-2026-39545 HIGH
Improper Certificate Validation (CWE-295)
2026-06-25 wolfSSL GHSA-58fj-7xwc-45hq
8.2
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Reach RPK-enabled wolfSSL peer over TLS
  2. Delivery
    Present un-negotiated raw public key
  3. Exploit
    ParseCertRelative accepts key without chain check
  4. Execution
    Bypass X.509 trust validation
  5. Impact
    Impersonate trusted server or client

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

The target wolfSSL build must be compiled with Raw Public Key support (HAVE_RPK) - disabled by default in a standalone build, but enabled by --enable-all. Exploitation requires that the RPK certificate type was NOT negotiated for the peer (no server_certificate_type / client_certificate_type agreement), which is precisely the unguarded path: the attacker presents an un-negotiated RFC 7250 raw public key in place of an X.509 certificate during the TLS handshake, and the unpatched code accepts it without chain validation. No authentication is needed (PR:N) and no user interaction is required (UI:N). Limiting factors: builds without HAVE_RPK are entirely unaffected, the attacker must be able to inject/serve the certificate message (a network MITM or malicious-peer position), and the impact is integrity/authentication bypass only (VC:N/VA:N), not direct data disclosure or denial of service.

Impact

Signals are largely consistent and point to a serious but conditionally-reachable trust bypass. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N) scores 8.2: network reachable, no privileges, no user interaction, with high integrity impact (authentication bypass / impersonation) but no direct confidentiality or availability impact - and critically AT:P (Attack Requirements present), which captures the precondition that the target must be built with HAVE_RPK. There is no EPSS score provided and the CVE is not in CISA KEV, so there is no evidence of active exploitation; no public exploit code was identified, only the upstream source fix (PR #10702). The key limiting factor is deployment reality: HAVE_RPK is disabled by default in a standalone build and only present via --enable-all or explicit opt-in, so the at-risk population is a subset of wolfSSL deployments rather than all of them. Net: a real integrity/authentication-bypass priority for environments that enabled RPK, but lower aggregate real-world risk than the raw 8.2 implies because the vulnerable configuration is non-default and no exploitation has been observed.

Exploit ScenarioDerived

An attacker positioned to terminate or intercept a TLS connection to a wolfSSL peer built with HAVE_RPK presents a self-chosen raw public key instead of a valid X.509 certificate during the handshake, even though RPK was never negotiated. wolfSSL accepts the bare key without any chain or trust validation, letting the attacker impersonate a trusted server (or client) and bypass authentication. No public PoC was identified, and the attack requires the target to have been compiled with RPK support.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

Certificate validation bypass in wolfSSL (builds compiled with HAVE_RPK) allows a peer to present an un-negotiated Raw Public Key (RFC 7250) in place of a full X.509 certificate, defeating chain-of-trust validation. Because a raw public key carries no certificate chain, ParseCertRelative() accepts it without performing any trust verification, so an attacker presenting a bare key can impersonate a server (or client) when neither side actually negotiated the RPK certificate type. No public exploit identified at time of analysis and the issue is not in CISA KEV; the high CVSS (8.2, CVSS 4.0) reflects a full authentication/integrity bypass, but exploitation is gated by the non-default HAVE_RPK build option.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the change from wolfSSL pull request https://github.com/wolfSSL/wolfssl/pull/10702 and consult https://www.wolfssl.com/docs/security-vulnerabilities/ for the tagged release that contains it, then upgrade to that version. As an immediate compensating control if you cannot patch, rebuild wolfSSL without HAVE_RPK (omit --enable-all and do not enable RPK) since the vulnerability only affects RPK-enabled builds; the trade-off is loss of RFC 7250 Raw Public Key functionality for any peer that legitimately relies on it. Where RPK must remain enabled, ensure peer authentication is additionally enforced at the application layer (e.g. pin expected server public keys / certificate types) until the patched build is deployed, accepting the operational overhead of explicit pinning. Note the same PR also hardens several adjacent checks (BIO negative-length handling, intermediate-CA keyCertSign enforcement, degenerate PKCS#7 verification, and TLS 1.3 post-handshake-auth certificate requirements), so taking the full patched release is preferable to cherry-picking only the RPK change.

Affected VersionsENISA

wolfSSL 5.6.4 ≤5.9.1

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 a compact embedded/IoT TLS library; the affected component is its TLS certificate-message processing in src/internal.c. The root cause is CWE-295 (Improper Certificate Validation): RFC 7250 Raw Public Keys allow a peer to send only a SubjectPublicKeyInfo blob instead of an X.509 chain, and RFC 8446/7250 require both sides to explicitly negotiate the server_certificate_type / client_certificate_type extensions before an RPK may be used. wolfSSL only enforced the type match when a count of negotiated RPK types was exactly 1, leaving the no-negotiation case unguarded - so a received raw key (dCert->isRPK) slipped past trust validation, since an RPK has no chain for ParseCertRelative() to verify. The fix defaults the expected certificate type to X.509 (cType = WOLFSSL_CERT_TYPE_X509) whenever nothing was negotiated, compares it against the received server cert type on the client and the selected client cert type on the server, and rejects any mismatch - including an un-negotiated bare key - with UNSUPPORTED_CERTIFICATE. The CPE cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* identifies the affected product.

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

Network-reachable authentication bypass with no privileges or interaction (PR:N/UI:N), but AC:H reflects the non-default HAVE_RPK build and un-negotiated-type precondition; impact is integrity-only (I:H, C:N/A:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/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
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Un-negotiated Raw Public Key (RFC 7250) accepted in place of an X.509 certificate, bypassing chain validation. A raw public key has no chain, so ParseCertRelative() accepts it without performing any trust verification; it must therefore only be accepted when RPK was actually negotiated for that peer. The check now defaults the expected type to X.509 (per RFC 7250/8446) when no type was negotiated, comparing against the received server certificate type on the client and the selected client certificate type on the server, and rejects any mismatch, including an un-negotiated raw public key, with UNSUPPORTED_CERTIFICATE. Only affects builds with Raw Public Key support (HAVE_RPK) enabled - disabled by default in a standalone build, but included in --enable-all.

Executive ViewAI

Why It Matters

wolfSSL versions compiled with the HAVE_RPK build option contain a certificate validation bypass that allows attackers to impersonate servers or clients by presenting raw public keys instead of valid X.509 certificates. This affects only systems with the non-default RPK option enabled, but creates a complete authentication and integrity bypass in those deployments. Organizations using wolfSSL for TLS termination or certificate-based authentication should prioritize identifying and patching affected builds.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching cannot be completed within 7 days, disable HAVE_RPK in the build configuration on all affected systems and recompile; verify no application code depends on Raw Public Key certificate negotiation before disabling.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
widely deployed embedded/IoT TLS library, though vulnerable RPK build is non-default
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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 No
EPSS 0.2%
Patch available Yes
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

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
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-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