Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain subordinate CA signing capability
-
DeliveryIssue leaf cert with violating CN and no SAN extension
-
ExploitPresent crafted cert to wolfSSL-based TLS verifier
-
ExecutionConfirmNameConstraints skips CN evaluation (altNames == NULL)
-
PersistCertificate accepted despite policy violation
-
ImpactImpersonate restricted domain to wolfSSL client or server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires two concurrent conditions: first, the verifying application must use wolfSSL's certificate manager ( |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N) scores 6.0 and reflects a meaningful but bounded integrity risk: network-reachable, low privilege, but requiring an attack prerequisite (AT:P) - specifically, the attacker must be able to issue or obtain a certificate under a name-constrained CA hierarchy. This precondition substantially limits the realistic attacker population: exploitation requires either compromise of a subordinate CA, access to an unconstrained intermediate, or participation in a PKI where the constraining CA itself is misconfigured. The integrity impact is high (VI:H) because a successful bypass allows a certificate with a CN violating the CA's domain policy to pass validation, enabling host impersonation within wolfSSL-protected TLS sessions. No KEV listing and no public POC are present in the input data, and EPSS data was not provided - meaning real-world exploitation frequency is unknown but not confirmed active. The risk is real for any deployment that relies on name-constrained CAs for policy enforcement (e.g., enterprise PKI, government PKI, IoT device provisioning); it is lower for deployments using unconstrained CAs (which represents the majority of public web PKI usage). CVSS vector consistency is internally sound: the integrity-only impact correctly captures that this is an authentication/policy bypass, not data disclosure. |
| Exploit ScenarioDerived | An attacker with access to a subordinate CA operating under a name-constrained root (e.g., a corporate PKI that permits only *.corp.example.com) issues a leaf certificate with CN=attacker.evil.com and deliberately omits the SAN extension. When a wolfSSL-based TLS client or server verifies this certificate against the constrained CA chain, the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
X.509 DNS name constraint enforcement in wolfSSL fails to evaluate the Subject Common Name when no Subject Alternative Name extension is present, allowing a certificate whose CN violates an issuing CA's DNS name constraints to be accepted as valid. Affected deployments include any application using wolfSSL's certificate manager for chain verification where name-constrained intermediate or root CAs are in use. An attacker who can obtain or forge a certificate with a non-compliant CN and no SAN can bypass the policy boundary the constraining CA was intended to enforce, enabling impersonation of hosts outside the permitted domain set. No public exploit identified at time of analysis; upstream fix available as a GitHub pull request.
RemediationAI
Apply the upstream fix from wolfSSL GitHub pull request #10223 (https://github.com/wolfSSL/wolfssl/pull/10223) once it is merged and incorporated into a tagged release; monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the official advisory and released version number. Until a patched release is available, compensating controls include: (1) Avoiding reliance on name-constrained CA hierarchies for access control in wolfSSL-based deployments - this removes the policy mechanism that the bypass circumvents, though it weakens PKI policy enforcement overall; (2) Requiring the presence of a SAN extension in all issued leaf certificates within constrained hierarchies, since the bypass only activates when cert->altNames == NULL - this can be enforced at the issuing CA's certificate profile configuration; (3) Performing an additional application-layer hostname verification step independent of wolfSSL's certificate manager when name constraints are security-critical. Note that workaround (1) removes a security control rather than adding one and should be considered a temporary measure only.
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:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*) is an embedded TLS/SSL library commonly deployed in IoT, automotive, and resource-constrained environments. RFC 5280 defines X.509 name constraints as a CA extension that restricts the namespace of subordinate certificates. Per RFC 6125, when a certificate has no SAN extension, hostname verification implementations MAY fall back to matching against the Subject CN as a DNS name. The vulnerability (CWE-295: Improper Certificate Validation) resides in wolfcrypt/src/asn.c within the ConfirmNameConstraints function: prior to the fix introduced in PR #10223, a code comment acknowledged the gap ('Should it also consider CN in subject?') but left the CN unchecked when cert->altNames == NULL. The fix adds a conditional block that, when no altNames are present and cert->subjectCN is non-null, constructs a synthetic DNS-type name record from the CN and applies it to the existing name-constraint evaluation logic. This means the bypass is configuration-independent and affects the core ASN.1 path validation logic.
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:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
AC:H reflects the prerequisite of CA issuance access within a constrained hierarchy; PR:L because subordinate CA or cert-issuance privilege is required; no confidentiality or availability impact.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
X.509 name constraint bypass via the Subject Common Name when treated as a DNS-type name. A certificate whose Subject CN violates an issuing CA's 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-39555
GHSA-9c3c-227q-3j67
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB