Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify wolfSSL deployment under name-constrained PKI
-
DeliveryObtain wildcard cert violating CA name constraints
-
ExploitPresent cert during TLS handshake
-
ExecutionBypass wolfSSL name-constraint check
-
ImpactImpersonate restricted hostname in authenticated TLS session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires three concurrent conditions: first, the target application must use wolfSSL compiled with WOLFSSL_ASN_TEMPLATE and associated extensions (WOLFSSL_CERT_EXT, WOLFSSL_ALT_NAMES, WOLFSSL_CERT_GEN) without the IGNORE_NAME_CONSTRAINTS compile flag; second, the PKI hierarchy in use must include a CA certificate that defines nameConstraints with permitted or excluded DNS or URI subtrees per RFC 5280 §4.2.1.10 - this is a deliberate, non-default CA configuration present primarily in purpose-built enterprise or government PKIs; third, an attacker must be able to obtain or present a certificate containing a wildcard DNS SAN (e.g., '*.example.com') or a sub-host URI SAN that falls within the constrained namespace. Exploitation is concretely limited by the rarity of name-constrained CA deployments: standard commercial TLS infrastructures, most enterprise PKIs, and public WebPKI hierarchies do not typically enforce nameConstraints, making those deployments entirely unaffected regardless of wolfSSL version. |
| Impact | The CVSS 4.0 score of 6.3 with AT:P (attack target requiring specific conditions) and VI:L (low integrity impact) accurately reflects the constrained threat model. Real-world exploitation requires a PKI hierarchy where a CA enforces DNS or URI name constraints - a configuration far less common than default commercial or enterprise PKI deployments, which typically do not configure nameConstraints. The CVSS 4.0 vector provided (AV:N/AC:L/AT:P/PR:N/UI:N) indicates the network path is accessible without authentication, but AT:P limits mass exploitation since the attack presupposes a constrained-CA environment. No EPSS score is included in the available data; given the niche prerequisite (constrained PKI), opportunistic mass exploitation is unlikely. No CISA KEV listing exists, and no POC exploit code has been identified - exploitation risk is concentrated in organizations that use wolfSSL within purpose-built, name-constrained PKI hierarchies for access control decisions. The upstream fix is traceable to PR #10549 but no tagged release incorporating it has been confirmed, leaving patch status as 'upstream fix available, released version unconfirmed.' |
| Exploit ScenarioDerived | An attacker who can obtain or cause a name-constrained intermediate CA to issue a wildcard certificate - for example, '*.example.com' where the CA's excluded subtree includes 'foo.example.com' - presents that certificate during a TLS handshake to a relying party running wolfSSL. wolfSSL's flawed byte-length guard incorrectly accepts the wildcard SAN without flagging the constraint violation, enabling the attacker to impersonate 'foo.example.com' within a TLS session that the CA's policy was intended to prohibit. No public proof-of-concept exploit code has been identified at the time of this analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
wolfSSL's certificate chain validation logic incorrectly evaluates wildcard DNS Subject Alternative Names (SANs) against CA-enforced name constraints, allowing certificates that should be rejected under a constrained PKI hierarchy to be silently accepted. Any wolfSSL-powered application that validates certificate chains in a PKI where intermediate or root CAs define permitted or excluded DNS name constraints per RFC 5280 §4.2.1.10 is affected; all versions matching cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* are listed as affected. No active exploitation is confirmed (not in CISA KEV) and no public exploit code has been identified; an upstream patch is available via PR #10549 but a tagged release version has not been independently confirmed.
RemediationAI
Apply the upstream fix available in GitHub PR #10549 (https://github.com/wolfSSL/wolfssl/pull/10549) once it is incorporated into a tagged wolfSSL release; monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the official release version, as a specific patched version number is not independently confirmed from available data. As a compensating control prior to patching, organizations relying on name-constrained PKI hierarchies for security decisions should implement an independent second-pass validation of certificate name constraints at the application layer using a separately verified library, or enforce a policy that rejects wildcard SANs in contexts where constrained CAs govern access. Rejecting all wildcard SANs will impact legitimate certificates already in production, so an audit of existing wildcard deployments is required before applying this control. Builds using IGNORE_NAME_CONSTRAINTS are not affected by this specific bypass but forfeit all name-constraint enforcement.
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 (CPE: cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*) is a lightweight, embedded C-based SSL/TLS library targeting IoT, RTOS, and resource-constrained environments. RFC 5280 §4.2.1.10 defines the nameConstraints CA extension, which restricts the namespace of subject names permitted in subordinate certificates: an excluded constraint on 'foo.example.com' must reject any SAN that could expand to that hostname, including the wildcard '*.example.com'. The wolfSSL ASN template path (WOLFSSL_ASN_TEMPLATE) contained a byte-length comparison guard during wildcard SAN evaluation that failed to correctly test SAN values against excluded or permitted DNS name constraint entries, permitting violating wildcards to pass unchallenged - a CWE-295 (Improper Certificate Validation) root cause. A parallel flaw existed in URI name constraints: a permitted constraint without a leading dot (e.g., 'host.com') mandates an exact host match under RFC 5280, but wolfSSL incorrectly applied subtree-matching semantics, accepting sub-host URIs such as 'https://www.host.com/' when only 'https://host.com/' should be allowed. The PR diff confirms these two distinct bypass paths and adds comprehensive regression tests covering both excluded and permitted subtree scenarios for DNS and URI GeneralName types.
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:N/VI:L/VA:N/SC:N/SI:N/SA:N
Requires a name-constrained CA PKI environment (AC:H); no authentication needed on the validation path; integrity-only impact via improper certificate acceptance.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
Certificates with wildcard DNS SANs (e.g. *.example.com) bypassed CA name-constraint checks. A certificate with a wildcard DNS SAN that should be rejected by the issuing CA's permitted/excluded DNS name constraints could be accepted.
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-39549
GHSA-m8r2-qgr6-4gqm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB