Description
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.
Published: 2026-09-27
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Certificate Validation Failure / Trust Escalation
Action: Apply Patch
AI Analysis

Impact

The vulnerability arises when wolfSSL’s X.509 validation logic does not correctly enforce NameConstraints extensions in certificate chains that include an unconstrained intermediate CA. The flaw causes the library to reset its validation state and accept leaf certificates for hostnames that should be disallowed, effectively bypassing cryptographic delegation controls and allowing an attacker to spoof legitimate hostnames.

Affected Systems

wolfSSL, versions 5.9.2 and earlier. The issue appears in the default build configuration when NameConstraints extensions are used in the certificate chain.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity. EPSS data is unavailable, and the vulnerability is not listed in CISA’s KEV catalog. The attack requires constructing a certificate chain that contains a name‑constrained intermediate CA followed by an unconstrained CA tier before the leaf certificate. An adversary could then use the wolfSSL library to validate this chain and obtain a seemingly legitimate certificate for a rejected hostname. The exploit is feasible but limited by the need to supply a specific chain, so the overall risk is moderate.

Generated by OpenCVE AI on September 27, 2026 at 10:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a wolfSSL release that includes the fix (e.g., 5.9.3 or later).
  • If an immediate upgrade is not possible, enforce stricter hostname validation in the application logic by verifying that the Common Name or SAN of the server certificate matches the expected hostname.
  • Subscribe to wolfSSL advisories and apply subsequent security updates promptly.

Generated by OpenCVE AI on September 27, 2026 at 10:51 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:*:*:*:*:*:*:*:*
Metrics cvssV3_1

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


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 11:30:00 +0000

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

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

Type Values Removed Values Added
Description 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.
Title NameConstraints not enforced across unconstrained intermediate CA
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:16:06.256Z

Reserved: 2026-09-10T22:36:42.599Z

Link: CVE-2026-89133

cve-icon Vulnrichment

Updated: 2026-09-29T16:14:33.803Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-02T18:58:31.737

Link: CVE-2026-89133

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:15:13Z

Weaknesses
  • CWE-295

    Improper Certificate Validation