Description
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.
Published: 2026-09-27
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Certificate validation bypass through name‑constraint check failure
Action: Patch
AI Analysis

Impact

The bug occurs when a certificate contains a non‑DNS SAN such as registeredID or iPAddress but no dNSName SAN. The wolfSSL logic for falling back from a certificate’s SAN to its Common Name is incorrectly gated on the presence of a Common Name and a NULL SAN list, rather than the absence of a dNSName SAN. Based on the description, it is inferred that a certificate whose CN does not satisfy the host name constraint can be considered valid, allowing an attacker to forge a certificate that passes name‑constraint validation. Based on the description, it is inferred that this flaw is a classic certificate trust bypass (CWE‑295) and can enable man‑in‑the‑middle attacks or unauthorized impersonation if the affected application relies on wolfSSL for TLS certification verification.

Affected Systems

The vulnerability exists in the wolfSSL library starting with version 5.9.2. End‑users employing wolfSSL 5.9.2 or later that have not applied a patch or an updated release are susceptible. The problem is tied to the certificate validation logic that is universal across client and server builds of wolfSSL.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity. No EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog, but the underlying issue is a key part of the certificate trust chain. Based on the description, it is inferred that an attacker could supply a crafted certificate to any system using wolfSSL for TLS that performs name‑constraint checks, and if the application does not enforce the presence of a dNSName SAN, the malformed certificate will be accepted. The likely attack vector is the presentation of a forged certificate during the TLS handshake. This provides a clear path for impersonation or interception of secure communications without requiring additional privileges or intermediate infrastructure.

Generated by OpenCVE AI on September 27, 2026 at 11:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade wolfSSL to the latest available release that contains the name‑constraint check fix.
  • If an upgrade cannot be performed immediately, configure wolfSSL to enforce strict dNSName SAN enforcement by disabling the CN fallback mechanism.
  • As an interim patch, apply the upstream commit 10837 from the wolfSSL GitHub repository to correct the CN fallback logic.

Generated by OpenCVE AI on September 27, 2026 at 11:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:wolfssl:wolfssl:5.9.2:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


Tue, 29 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 27 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Wolfssl
Wolfssl wolfssl
Vendors & Products Wolfssl
Wolfssl wolfssl

Sun, 27 Sep 2026 09:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Subject CN name-constraint check bypassed when non-DNS SAN present
Weaknesses CWE-295
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: wolfSSL

Published:

Updated: 2026-09-29T16:37:26.748Z

Reserved: 2026-09-10T22:37:22.616Z

Link: CVE-2026-89134

cve-icon Vulnrichment

Updated: 2026-09-29T16:36:18.487Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-27T10:16:59.030

Modified: 2026-10-02T18:57:50.840

Link: CVE-2026-89134

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:30:17Z

Weaknesses
  • CWE-295

    Improper Certificate Validation