Vulnerability · Published Jun 25, 2026 · Assigned by wolfSSL

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

High 8.7

In plain English

A high-severity improper certificate validation in wolfSSL from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.2%top 85.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

X.509 trust-chain bypass in the OpenSSL compatibility certificate verifier (wolfSSL_X509_verify_cert()). This affects only builds with --enable-opensslextra (OPENSSL_EXTRA) and whose application validates certificates by calling X509_verify_cert() 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 X509_verify_cert() 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 (WOLFSSL_VERIFY_PEER) is not affected; only TLS applications doing manual or deferred peer verification through this API are, which also requires --enable-sessioncerts.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24wolfssl5.9.2-r0ALPINE-CVE-2026-11310
Debian:12wolfsslno fix listedDEBIAN-CVE-2026-11310
Debian:13wolfsslno fix listedDEBIAN-CVE-2026-11310
Ubuntu:22.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-11310
Ubuntu:24.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-11310
Ubuntu:25.10wolfsslno fix listedUBUNTU-CVE-2026-11310
Ubuntu:26.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-11310
Ubuntu:26.10wolfsslno fix listedUBUNTU-CVE-2026-11310

Affected products (as reported)

VendorProductVersions
wolfSSL wolfSSL 5.8.4 – through 5.9.1

Weakness: CWE-295 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

References