CVE-2026-11310: X.509 trust-chain bypass in wolfSSL_X509_verify_cert() via untrusted intermediate anchoring

Published Jun 25, 2026
·
Updated

X.509 trust-chain bypass in the OpenSSL compatibility certificate verifier (wolfSSLX509verifycert()). This affects only builds with --enable-opensslextra (OPENSSLEXTRA) and whose application validates certificates by calling X509verifycert() with caller-supplied untrusted intermediate certificates; for those users it is critical, otherwise the library is unaffected. In particular, native wolfSSL TLS/DTLS usage is not impacted. wolfSSL's X509verifycert() temporarily loads each caller-supplied untrusted intermediate into the certificate manager but failed to drop them before the trusted-store check, so an untrusted intermediate could anchor the path itself. An attacker can present a chain that never reaches a configured trust anchor and have it accepted, resulting in acceptance of an attacker-controlled certificate. This is certificate verification independent of TLS (e.g. S/MIME/CMS, code/firmware signing, JWT/JWS x5c), is not specific to any key type or algorithm, and a single untrusted intermediate suffices. The default wolfSSL TLS handshake (WOLFSSLVERIFYPEER) is not affected; only TLS applications doing manual or deferred peer verification through this API are, which also requires --enable-sessioncerts.

Affected Software

2 affected components
wolfSSL wolfssl
wolfSSL wolfssl>=5.8.4<5.9.2

Event History

Jun 25, 2026
CVE Published
via MITRE·07:38 PM
Data Sourced
via MITRE·07:38 PM
DescriptionWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-11310?

CVE-2026-11310 has a high severity rating of 8.7.

2

How does CVE-2026-11310 affect wolfSSL?

CVE-2026-11310 affects wolfSSL's X.509 certificate verification, allowing for a trust-chain bypass when using untrusted intermediate certificates.

3

How do I fix CVE-2026-11310?

The fix for CVE-2026-11310 is to apply the available patch provided by wolfSSL.

4

Which builds are affected by CVE-2026-11310?

Only wolfSSL builds with the --enable-opensslextra option are affected by CVE-2026-11310.

5

What type of applications are at risk from CVE-2026-11310?

Applications that validate certificates by calling X509_verify_cert() with caller-supplied untrusted intermediate certificates are at risk from CVE-2026-11310.

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
CVE-2026-11310 - X.509 trust-chain bypass in wolfSSL_X509_verify_cert() via untrusted intermediate anchoring - SecAlerts