CVE-2026-89133

NameConstraints not enforced across unconstrained intermediate CA

Published Sep 27, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
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'}

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wolfssl
Wolfssl wolfssl
Vendors & Products Wolfssl
Wolfssl wolfssl
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'}

Weaknesses
  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
wolfSSL
Published
Updated
Sep 29, 2026, 4:16 PM
Reserved
Sep 10, 2026, 10:36 PM
Status
Analyzed
Published
Sep 27, 2026, 10:16 AM
Modified
Oct 2, 2026, 6:58 PM