Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain leaf cert from unconstrained sub-CA
-
DeliveryPresent forged out-of-scope cert in TLS handshake
-
ExploitChain walk resets NameConstraints state at unconstrained tier
-
ExecutionwolfSSL accepts prohibited hostname
-
ImpactImpersonate/MITM peer within constrained PKI
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 trust chain where a name-constrained intermediate CA is followed by an UNCONSTRAINED CA tier above the leaf, and the affected relying party (wolfSSL 5.9.2 or earlier) must actually rely on NameConstraints extensions for trust decisions in its default build. The attacker must be able to obtain a leaf certificate issued by the unconstrained subordinate tier so it chains up to the constrained trust anchor. Limiting factors: high attack complexity (AC:H) because the specific multi-tier chain topology is not attacker-controllable in most PKIs; deployments that do not use name constraints are unaffected; no user interaction or authentication to the target is required (PR:N/UI:N), but real leverage depends on the attacker's access to a suitable issuing CA. |
| Impact | This is a genuine certificate-validation defect but a low-to-moderate real-world priority. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N) scores 6.3 (medium): network-reachable and unauthenticated, but with HIGH attack complexity and only LOW confidentiality/integrity impact and no availability impact. The AC:H rating is well-justified: exploitation requires a very specific PKI topology (a name-constrained intermediate CA, an UNCONSTRAINED CA tier beneath it, and the attacker able to obtain a leaf certificate from that lower tier), which is not attacker-controllable at will. No EPSS score, no CISA KEV listing, and no standalone weaponized exploit are present in the input - so there is no public exploit identified at time of analysis, though the fix PR (#10687) ships full attacker test certificate chains (certs/test/nc-ancestor/03-leaf-attacker*) that serve as reproduction material. Signals are consistent rather than conflicting: medium CVSS driven down by AC:H, no exploitation intelligence, and low technical impact all point the same direction. The most consequential caveat is that this affects the DEFAULT build configuration when name-constraint extensions are used, so environments relying on name-constrained delegation for trust segmentation should patch, while deployments not using name constraints are unaffected. I independently judge the impact slightly higher on the CVSS 3.1 scale than raw numbers suggest because a NameConstraints bypass can enable server impersonation/MITM within the constrained namespace, but AC:H keeps overall risk modest. |
| Exploit ScenarioDerived | An organization operates a name-constrained intermediate CA (e.g., permitted only to .example.com), but a subordinate CA beneath it lacks its own NameConstraints extension. An attacker who can obtain a leaf certificate from that unconstrained subordinate tier crafts a cert for a hostname outside the permitted namespace; because wolfSSL resets validation state at the unconstrained tier, it accepts the out-of-scope certificate, enabling impersonation or MITM of a TLS peer. No public standalone exploit is identified, but the fix PR includes attacker test certificate chains that reproduce the bypass. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
Certificate name-constraint enforcement can be bypassed in wolfSSL 5.9.2 and earlier, allowing a certificate to be accepted for hostnames it is not authorized to cover. The X.509 path-validation state machine loses track of NameConstraints when an intermediate CA without a NameConstraints extension sits between a name-constrained CA and the leaf, so the effective trust delegation is not enforced; exploitation requires a PKI topology with exactly that chain shape and a relying party that uses name constraints in its default build. No public exploit code has been identified at time of analysis, and the attacker must already be able to obtain a leaf certificate chaining up through the unconstrained subordinate tier, which keeps real-world leverage conditional and complexity high.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the corrective change is in https://github.com/wolfSSL/wolfssl/pull/10687, so apply that patch or upgrade to the first wolfSSL release that contains it, and verify the release notes rather than assuming a version number not stated in the advisory data. Because no patched tagged release is confirmed here, the most direct compensating control is to avoid trusting chains in which an unconstrained CA sits between a name-constrained CA and the leaf: audit the trust store and remove or re-issue such intermediates so every tier below a constrained CA also carries the appropriate NameConstraints extension - the trade-off being possible breakage of legitimate certificates in that hierarchy. Alternatively, perform RFC 5280 path validation with name-constraint enforcement in a separate, correctly behaving layer in front of wolfSSL (for example a validating TLS termination proxy or a hardened certificate-validation library), accepting the added latency, deployment complexity and a second code path to maintain; simply disabling certificate validation is not an acceptable substitute. Deployments that make no use of NameConstraints are unaffected and need no immediate change, but should still track the fix. No public exploit code has been identified at time of analysis, so patching can be scheduled with normal change management rather than emergency handling.
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 defect is a CWE-295 (Improper Certificate Validation) flaw in wolfSSL's X.509 path-building and validation code, specifically its handling of the RFC 5280 NameConstraints extension. NameConstraints lets a CA restrict the namespace its subordinates may assert, via permittedSubtrees and excludedSubtrees over dNSName, URI, directoryName and similar GeneralName types; a conforming validator must accumulate and enforce those constraints down every tier of the chain. In affected wolfSSL versions the chain-walking state machine appears to reset the accumulated constraint state whenever it encounters an intermediate certificate that carries no NameConstraints extension, so constraints imposed higher in the chain are silently dropped before the leaf is evaluated. The upstream fix (PR 10687) adds a dedicated certificate corpus under certs/test/nc-ancestor/ - a root (00-root-cert.pem), a name-constrained 'URI Permit CA' whose permitted subtree is example.com (01-uri-permit-ca-cert.pem), an unconstrained 'Benign Sub CA' (02-benign-sub-ca-cert.pem), and a set of leaf certificates including an attacker leaf and a valid leaf (03-leaf-chain.pem) - which precisely models the three-tier topology needed to exercise the bug. The flaw is only relevant in build configurations that process and rely on NameConstraints, i.e. the default configuration when such certificates are used; the CVSS 4.0 base of 6.3 and the independent CVSS 3.1 assessment of AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N agree that impact is bounded (partial confidentiality and integrity loss, no availability impact) because the attacker cannot generally choose the trust-chain topology of a real PKI. Authentication requirements are unauthenticated per the provided vectors (PR:N), meaning no credentials to the relying party are needed, but the attacker does need certificate-issuance capability from the relevant unconstrained subordinate CA.
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, unauthenticated cert validation flaw, but AC:H due to the required name-constrained/unconstrained multi-tier chain; limited MITM impact gives C:L/I:L, no availability effect.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
wolfSSL versions 5.9.2 and earlier contain a flaw in the X.509 certificate validation logic where it fails to properly enforce NameConstraints extensions when there is an unconstrained CA tier between a name-constrained intermediate CA and the leaf certificate. wolfSSL incorrectly accepted certificates for hostnames they shouldn't be allowed to cover, due to a chain-walking state-machine bug that resets the validation state when encountering an intermediate without NameConstraints, thereby bypassing cryptographic delegation controls. This defect exists in the default build configuration that makes use of certificates where name constraint extensions are used. Thanks to Jack Lloyd, PathDiff, and Ben Smyth for reporting the issue.
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-87922
GHSA-vrp7-vcfx-j447
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB