Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain cert from name-constrained CA
-
DeliverySet out-of-scope CN + non-dNSName SAN
-
ExploitPresent cert to wolfSSL 5.9.2 peer
-
ExecutionCN name-constraint check suppressed
-
PersistOut-of-scope identity trusted
-
ImpactImpersonation / 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
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
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
Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve
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
EUVD-2026-87913
GHSA-p2xv-vrwq-543q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB