Skip to main content

wolfSSL EUVDEUVD-2026-39548

| CVE-2026-11310 HIGH
Improper Certificate Validation (CWE-295)
2026-06-25 wolfSSL GHSA-h4wh-367g-85gm
8.7
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Generate attacker-controlled CA and leaf cert
  2. Delivery
    Present chain with rogue intermediate as anchor
  3. Exploit
    wolfSSL X509_verify_cert skips trusted-store enforcement
  4. Execution
    Forged certificate accepted as trusted
  5. Impact
    Impersonate identity or forge signed artifact

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires the target application to be built with --enable-opensslextra (OPENSSL_EXTRA) AND to validate certificates by calling the OpenSSL-compat X509_verify_cert() with caller-supplied untrusted intermediate certificates (for the TLS deferred/manual-verification variant, --enable-sessioncerts is additionally required). Given that, no attacker authentication or user interaction is needed (PR:N/UI:N) and the attacker only needs to present a chain containing a single attacker-controlled intermediate as the anchor. Limiting factors that reduce real-world exposure: native wolfSSL TLS/DTLS and the default WOLFSSL_VERIFY_PEER handshake are not vulnerable, so the bug does not affect standard TLS server/client verification; only the specific compatibility-API verification flow (commonly S/MIME/CMS, code/firmware signing, JWT/JWS x5c, or manual TLS peer checks) is exposed.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 8.7 with a single high integrity impact (VI:H) and no confidentiality or availability impact, which matches the nature of the bug: it does not leak or destroy data, it defeats authentication of certificates. The network vector and no-privileges/no-interaction metrics reflect that a remote attacker only needs to present a crafted chain to a vulnerable verifier. The critical caveat is that exploitability is gated by application build and usage: it requires --enable-opensslextra AND an application calling X509_verify_cert() with untrusted intermediates (and --enable-sessioncerts for the deferred-TLS variant), so the CVSS network/no-privilege metrics describe the attacker's position but understate the deployment-specific precondition. Native wolfSSL TLS/DTLS and the default WOLFSSL_VERIFY_PEER handshake are NOT affected, which materially narrows the population at risk. No EPSS score, KEV listing, or POC was provided; the supplied source evidence is a regression test fixture set (untrusted_anchor certs) from the fix PR, not a weaponized exploit. Net: this is a genuinely high-severity authentication bypass for the specific subset of wolfSSL consumers using the OpenSSL-compat verification API, but a low real-world-priority issue for the much larger set of users relying on native TLS verification.

Exploit ScenarioDerived

An attacker generates their own CA and uses it to sign a leaf certificate for a target identity (e.g. a firmware-signing identity or a JWS x5c subject), then presents the leaf together with their attacker-controlled CA as an untrusted intermediate to an application that verifies it via wolfSSL's X509_verify_cert(). Because the verifier lets the supplied intermediate anchor the path instead of requiring a configured root, the forged certificate is accepted, enabling certificate impersonation, forged code/firmware signatures, or spoofed signed messages. No POC was provided, but the fix PR ships ready-made fixture certificates (untrusted_anchor leaf/int-ca/alt-ca) demonstrating exactly such a chain.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

X.509 trust-chain bypass in wolfSSL's OpenSSL compatibility certificate verifier (wolfSSL_X509_verify_cert/X509_verify_cert) allows an attacker to have an attacker-controlled certificate accepted as valid by presenting a chain that never reaches a configured trust anchor. The flaw affects only builds compiled with --enable-opensslextra whose applications perform certificate validation via the OpenSSL-compat X509_verify_cert() API using caller-supplied untrusted intermediates; for those deployments it is critical (CVSS 4.0 base 8.7, integrity impact only). There is no public exploit identified at time of analysis and it is not on CISA KEV, but an upstream fix is available via wolfSSL PR #10674.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the wolfSSL fix from https://github.com/wolfSSL/wolfssl/pull/10674 and consult https://www.wolfssl.com/docs/security-vulnerabilities/ for the corresponding tagged release, then rebuild and redeploy affected applications. As an interim compensating control, if your build does not actually need the OpenSSL compatibility layer, compile without --enable-opensslextra (and without --enable-sessioncerts where the deferred-TLS path is used), which removes the vulnerable code path entirely but breaks any code depending on OpenSSL-compat APIs. Where the X509_verify_cert() API must remain, avoid feeding untrusted/caller-supplied intermediates directly into the verification store and instead pre-populate the certificate manager only with vetted intermediates, or add an explicit post-verification check that the resulting chain terminates at a known trusted root before accepting the certificate; the trade-off is added application-side validation logic. Because the flaw also impacts non-TLS uses (S/MIME/CMS, code/firmware signing, JWT/JWS x5c), audit those consumers as well, not just TLS code.

Affected VersionsENISA

wolfSSL 5.8.4 ≤5.9.1

Affected Packages

euvd wolfssl no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in wolfSSL's OpenSSL compatibility layer, specifically the X509_verify_cert() path used with X509_STORE_CTX. To emulate OpenSSL semantics, wolfSSL temporarily loads each caller-supplied untrusted intermediate certificate into its internal certificate manager so the path can be built. The defect (CWE-295, Improper Certificate Validation) is that these temporary intermediates were not dropped before the trusted-store anchor check ran, so an untrusted intermediate could itself serve as the trust anchor that terminates path validation. Because the verifier never confirms the chain reaches a configured root, any chain ending in an attacker-supplied CA is accepted. This is generic certificate verification independent of TLS - it applies to S/MIME/CMS, code and firmware signing, and JWT/JWS x5c validation - and is independent of key type or algorithm; a single untrusted intermediate is sufficient. The affected component is identified by cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* across all versions prior to the fix.

Know when OpenSSL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wolfSSL) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Remote attacker presents a crafted chain with no privileges or interaction (AV:N/AC:L/PR:N/UI:N); only certificate-trust integrity is broken (I:H), with no direct confidentiality or availability loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

wolfSSL versions with OpenSSL compatibility mode contain a certificate validation bypass (CVE-2026-11310, CVSS 8.7) that allows invalid certificates to be accepted as valid by vulnerable applications. Organizations whose infrastructure depends on wolfSSL for TLS security face elevated risk of man-in-the-middle attacks against encrypted communications. No public exploit code exists, but the validation control weakness requires immediate patching.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
widely used embedded/IoT TLS library, but vulnerable compat path is a narrow subset
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2014-0160 HIGH POC
7.5 Apr 07

The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe

CVE-2021-3711 CRITICAL POC
9.8 Aug 24

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Rated cri

CVE-2014-0195 MEDIUM POC
6.8 Jun 05

The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2016-0800 MEDIUM POC
5.9 Mar 01

The SSLv2 protocol, as used in OpenSSL before 1.0.1s and 1.0.2 before 1.0.2g and other products, requires a server to se

CVE-2015-0204 MEDIUM POC
4.3 Jan 09

The ssl3_get_key_exchange function in s3_clnt.c in OpenSSL before 0.9.8zd, 1.0.0 before 1.0.0p, and 1.0.1 before 1.0.1k

CVE-2022-2068 HIGH
7.3 Jun 21

In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehas

CVE-2015-4000 LOW POC
3.7 May 21

The TLS protocol 1.2 and earlier, when a DHE_EXPORT ciphersuite is enabled on a server but not on a client, does not pro

CVE-2014-3566 LOW POC
3.4 Oct 15

The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses nondeterministic CBC padding, which mak

CVE-2016-2107 MEDIUM POC
5.9 May 05

The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a

CVE-2015-1793 MEDIUM POC
6.5 Jul 09

The X509_verify_cert function in crypto/x509/x509_vfy.c in OpenSSL 1.0.1n, 1.0.1o, 1.0.2b, and 1.0.2c does not properly

CVE-2022-3602 HIGH
7.5 Nov 01

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Rated hig

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy