CVE-2026-5263

URI nameConstraints not enforced in ConfirmNameConstraints()

Published Apr 9, 2026 CVSS 4.0 · 7 High EPSS < 1% KEV · Not listed
Description
URI nameConstraints from constrained intermediate CAs are parsed but not enforced during certificate chain verification in wolfcrypt/src/asn.c. A compromised or malicious sub-CA could issue leaf certificates with URI SAN entries that violate the nameConstraints of the issuing CA, and wolfSSL would accept them as valid.

Analysis

AI-generated

Technical impact

The vulnerability originates in the ConfirmNameConstraints() routine in wolfSSL's certificate verification component, where URI name constraints imported from constrained intermediate CAs are parsed but not enforced. This allows a malicious or compromised sub‑CA to issue a leaf certificate containing a URI Subject Alternative Name that violates the parent CA's constraints. Consequently, wolfSSL would accept the certificate as valid, effectively bypassing the intended naming policy and allowing the use of unauthorized URIs within the TLS connection.

Affected Systems

All deployments that use wolfSSL for TLS are potentially affected, as the flaw exists in the open‑source wolfcrypt library and is present in all builds until patched. Any application or device that does not enforce its own URI SAN validation and relies on wolfSSL for certificate chain verification is susceptible.

Risk and Exploitability

The CVSS base score of 7 indicates high risk. EPSS data is not provided, but the vulnerability is not listed in the CISA KEV catalog, suggesting no known public exploitation yet. Attackers would need a sub‑CA capable of creating certificates and could use a compromised internal CA or an attacker‑controlled CA. Because the attack only requires certificate issuance, the threat is realistic, especially in environments where cross‑CA trust is present. Operators should treat this as a high‑risk flaw and apply the vendor‑supplied patch promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest wolfSSL patch that enforces URI nameConstraints during certificate verification.
  • If a patch is not yet available, restrict the use of wolfSSL to certificates issued by fully trusted CAs that do not rely on URI SANs.
  • Verify that your application performs additional validation of URI SAN entries if possible.
  • Keep the library updated and monitor the vendor’s advisory for future releases.

Generated by OpenCVE AI on April 9, 2026 at 23:06 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': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', '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 URI nameConstraints from constrained intermediate CAs are parsed but not enforced during certificate chain verification in wolfcrypt/src/asn.c. A compromised or malicious sub-CA could issue leaf certificates with URI SAN entries that violate the nameConstraints of the issuing CA, and wolfSSL would accept them as valid.
Title URI nameConstraints not enforced in ConfirmNameConstraints()
Weaknesses CWE-295
References
Metrics cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:L/VA:N/SC:H/SI:N/SA:N'}

Weaknesses
  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
wolfSSL
Published
Updated
Jul 2, 2026, 2:45 PM
Reserved
Mar 31, 2026, 4:56 PM
Status
Modified
Published
Apr 9, 2026, 10:16 PM
Modified
Jul 2, 2026, 3:17 PM