Skip to main content

wolfSSL CVE-2026-89134

| EUVDEUVD-2026-87913 MEDIUM
Improper Certificate Validation (CWE-295)
2026-09-27 wolfSSL GHSA-p2xv-vrwq-543q
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Obtain cert from name-constrained CA
  2. Delivery
    Set out-of-scope CN + non-dNSName SAN
  3. Exploit
    Present cert to wolfSSL 5.9.2 peer
  4. Execution
    CN name-constraint check suppressed
  5. Persist
    Out-of-scope identity trusted
  6. Impact
    Impersonation / MITM

Vulnerability Assessment

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

Requires a PKI deployment where a signing CA enforces dNSName name constraints, AND a leaf certificate whose Subject CN is outside those constraints while carrying at least one non-dNSName SAN (registeredID or iPAddress) that itself is unconstrained by the CA. Only wolfSSL 5.9.2 is affected (regression from the incomplete fix of CVE-2026-6731); earlier and later fixed versions are not. Limiting factors: name constraints are an uncommonly used X.509 feature (raising real-world AC), the attacker must be able to obtain/present such a certificate under the constrained CA, and impact is limited to acceptance of an out-of-scope identity (Low C/I, no availability impact).

Impact

This is a genuine certificate-validation weakness but a low-urgency one. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L, base 6.3) correctly captures the shape: network-reachable and unauthenticated, but high attack complexity and only Low confidentiality/integrity impact. There is no EPSS score, no CISA KEV listing, and no standalone proof-of-concept - the only public artifact is wolfSSL's own fix PR #10837, which contains unit tests demonstrating the bypass rather than a weaponized exploit, so this maps to 'no public exploit identified at time of analysis.' The AC:H rating is well justified: exploitation is not a simple remote hit - it requires a deployment that actually uses DNS name constraints on a signing CA (an uncommon PKI feature) plus an attacker able to present a certificate with an out-of-scope CN and a non-dNSName SAN (registeredID or iPAddress). Signals are internally consistent (no KEV-vs-EPSS conflict), and I broadly agree with the vendor score, assessing it ~5.4 on CVSS 3.1. Net: real defect worth patching on the affected version, but not a widespread emergency.

Exploit ScenarioDerived

In an environment where a CA delegates trust using dNSName name constraints (e.g., permitting only *.example.com), an attacker obtains or crafts a leaf certificate whose CN is an out-of-scope name (evil.attacker.com) and adds a harmless non-dNSName SAN such as a registeredID or iPAddress. Because the CN-as-DNS fallback check is skipped whenever any SAN is present, wolfSSL 5.9.2 accepts the certificate despite the CN violating the CA's name constraint, enabling impersonation/MITM of a name the CA never authorized. No public exploit exists, but the vendor's PR includes tests that reproduce the acceptance behavior.

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 5.9.2 accepts leaf certificates whose Subject CN falls outside a CA's dNSName name constraints whenever the leaf carries any other SAN type (such as registeredID or iPAddress) instead of a dNSName SAN, allowing an out-of-scope identity to pass validation. The defect is a regression introduced by the incomplete fix for CVE-2026-6731: the CN-as-DNS fallback was gated on the absence of any SAN extension rather than the absence of a dNSName SAN specifically. Exploitation is unauthenticated and remote per the CVSS vector (PR:N, AV:N, AC:H), but requires an uncommon PKI configuration where the issuing CA enforces dNSName name constraints; there is no public exploit identified at time of analysis and impact is limited to Low confidentiality and integrity with no availability effect.

RemediationAI

Upgrade wolfSSL past 5.9.2 to a build containing the corrected CN-fallback logic; the upstream fix is in pull request https://github.com/wolfSSL/wolfssl/pull/10837, which reworks the test so a non-dNSName SAN no longer suppresses the CN name-constraint check and the out-of-scope CN plus registeredID or iPAddress SAN case now correctly returns ASN_NAME_INVALID_E. No tagged released version is independently confirmed from the provided data, so treat the PR/commit as the authoritative fix reference and verify the target release inherits it before relying on it. If immediate upgrade is not possible, note that the risk only materializes in deployments that both enable name-constraint enforcement and issue leaf certificates under a dNSName-constrained CA; disabling name-constraint checking (IGNORE_NAME_CONSTRAINTS) would eliminate the bypass path but removes a valuable defense for any CA in your trust store - only consider it where no constrained CA is in use. Additional compensating measures include rejecting leaf certificates that carry no dNSName SAN when a constrained CA is involved, and tightening issuance policy so constrained CAs never issue certificates with only registeredID or iPAddress SANs; both depend on controls outside wolfSSL and do not fix the library itself, so patching remains the primary action.

Affected VersionsENISA

wolfSSL 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

The issue is a CWE-295 improper certificate validation flaw in wolfSSL's X.509 name-constraint enforcement. Under RFC 6125 section 6.4.4, hostname verification falls back to the Subject CN only when the certificate contains no dNSName SAN; wolfSSL 5.9.2 instead gated that fallback on cert->subjectCN != NULL && cert->altNames == NULL && !cert->isCA. As a result, a leaf presenting a registeredID (ASN_RID_TYPE, e.g. OID 1.2.3.4) or iPAddress (ASN_IP_TYPE) SAN - neither of which is constrained by the CA involved - suppresses the CN check even though no dNSName SAN is present, so a CN such as evil.attacker.com is never compared against the CA's permitted dNSName set (e.g. wolfssl.com, example.com). The CPE cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* indicates the wolfSSL library component broadly, with 5.9.2 confirmed as the affected introduction point and later fixed builds unaffected. Certificate-manager verification (wolfSSL_CertManagerVerifyBuffer) returns success where ASN_NAME_INVALID_E is expected, meaning the trust decision is made on an identity the CA never authorized.

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:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

Network-reachable and unauthenticated (PR:N) but AC:H because it needs a name-constrained CA deployment plus a crafted non-dNSName-SAN cert; impact limited to accepting an out-of-scope identity, so C:L/I:L, A:N.

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

DescriptionCVE.org

A certificate with no dNSName SAN but another SAN type present (e.g. registeredID or iPAddress) bypassed the Subject CN dNSName name-constraint check. The CN-as-DNS fallback was gated on cert->subjectCN != NULL && cert->altNames == NULL && !cert->isCA instead of "no dNSName SAN", so an out-of-scope CN was accepted. This incomplete fix from CVE-2026-6731, leading to the name-constraint check issue, was introduced in wolfSSL version 5.9.2.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
wolfSSL widely embedded in IoT/embedded TLS, but only 5.9.2 affected
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
Yes
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

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