{"id":"JLSEC-2026-697","summary":"X.509 trust-chain bypass in the OpenSSL compatibility certificate verifier ...","details":"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.","modified":"2026-07-14T21:50:13.093594039Z","published":"2026-07-14T21:41:35.775Z","upstream":["CVE-2026-11310","EUVD-2026-39548","GHSA-h4wh-367g-85gm"],"database_specific":{"sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11310","database_specific":{"status":"Analyzed"},"id":"CVE-2026-11310","imported":"2026-07-14T21:22:49.585Z","modified":"2026-06-26T18:54:51.247Z","published":"2026-06-25T20:17:09.777Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-11310"},{"published":"2026-06-25T21:31:31Z","url":"https://api.github.com/advisories/GHSA-h4wh-367g-85gm","html_url":"https://github.com/advisories/GHSA-h4wh-367g-85gm","id":"GHSA-h4wh-367g-85gm","imported":"2026-07-14T21:22:58.411Z","modified":"2026-06-26T21:32:11Z"},{"id":"EUVD-2026-39548","imported":"2026-07-14T21:22:51.107Z","modified":"2026-06-26T14:02:37Z","published":"2026-06-25T19:38:19Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-39548","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39548"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-h4wh-367g-85gm"},{"type":"WEB","url":"https://github.com/wolfSSL/wolfssl/pull/10674"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11310"},{"type":"WEB","url":"https://www.wolfssl.com/docs/security-vulnerabilities"},{"type":"WEB","url":"https://www.wolfssl.com/docs/security-vulnerabilities/"}],"affected":[{"package":{"name":"wolfSSL_jll","ecosystem":"Julia","purl":"pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.8.4+0"},{"fixed":"5.9.2+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-697.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}