JLSEC-2026-2370: wolfSSL versions 5.9.2 and earlier contain a flaw in the X.509 certificate validation logic where...

Published Dec 3, 2026
·
Updated

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.

Affected Software

1 affected component
julia/wolfssl_jll*

Event History

Dec 3, 2026
Advisory Published
via OSV·05:21 PM
Data Sourced
via OSV·05:21 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which certificate chains are vulnerable to this validation bypass?

The issue requires a chain with a name-constrained intermediate CA, followed by an unconstrained CA tier, and then a leaf certificate. In that arrangement, wolfSSL can accept a leaf certificate for a hostname outside the constrained intermediate CA's permitted names.

2

Is a non-default build option required for exposure?

No. The defect exists in the default build configuration when certificates using NameConstraints extensions are processed.

3

What does an attacker need to exploit this issue?

An attacker needs to present a certificate chain structured to place an unconstrained CA between a name-constrained intermediate and the leaf certificate, with a leaf hostname that the name constraint should prohibit. The flaw is remotely exploitable and does not require prior privileges or user interaction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203