CVE-2026-11999CWE-295

X.509 trust-chain bypass via path-depth exhaustion in wolfSSL_X509_verify_cert()

High · published June 25, 2026

CVSS v4.0
8.2
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

X.509 trust-chain bypass (path-depth exhaustion) in the OpenSSL compatibility certificate verifier (wolfSSL_X509_verify_cert()). This affects only builds with --enable-opensslextra whose application calls X509_verify_cert() with caller-supplied untrusted intermediates; for those users it is critical, otherwise the library is unaffected. Native wolfSSL TLS/DTLS usage is not impacted. X509_verify_cert() returned success based only on the last verified link rather than on reaching a trust anchor: when the supplied chain is deeper than the verifier's maximum path depth (default 100), path building runs out of depth while still walking untrusted intermediates and the chain is accepted even though it never reaches a configured trust anchor, allowing acceptance of an attacker-controlled certificate. The default TLS handshake (WOLFSSL_VERIFY_PEER) is not affected; only applications doing manual or deferred verification through this API are.

The record
Technical detail
CVSS v4.0
8.2 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00234 · 13.5th percentile
Weakness
CWE-295 · Improper Certificate Validation
Published
2026-06-25T16:56Z
EPSS history
Timeline
  • 25 JUN 16:56Z
    X.509 trust-chain bypass via path-depth exhaustion in wolfSSL_X509_verify_cert()
    cvelistv5