{"id":"CVE-2026-11310","aliases":["CVE-2026-11310"],"related":[],"kind":"vulnerability","state":"published","title":"X.509 trust-chain bypass in wolfSSL_X509_verify_cert() via untrusted intermediate anchoring","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-06-25T19:38:19.099Z","modified":"2026-06-26T18:54:51.247Z","severity":{"scorer":"wolfSSL","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"wolfSSL","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"semver","introduced":"5.8.4","lastAffected":"5.9.1","status":"affected"}],"vendor":"wolfSSL","product":"wolfSSL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8.4","fixed":"5.9.2"}],"vendor":"wolfssl","product":"wolfssl","cpe":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10674","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Corban Villa, Sohee Kim and Austin Chu (UC Berkeley, Sky Lab)"],"assigner":"wolfSSL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-26T14:02:17.745Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-11310","url":"https://www.cve.org/CVERecord?id=CVE-2026-11310","licence":"CVE Terms of Use","modified":"2026-06-26T14:02:37.876Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-11310","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11310","licence":"Public domain","modified":"2026-06-26T18:54:51.247Z"}],"updatedAt":"2026-11-25T22:59:26.427Z","epss":{"score":0.0022,"percentile":0.13292,"date":"2026-12-01T12:00:22.000Z"}}