Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify wolfSSL OpenSSL-compat build via fingerprinting
-
DeliveryGain MITM or chain-supply position on TLS session
-
ExploitPresent crafted intermediate cert (CA:TRUE, Key Usage extension present, keyCertSign bit absent)
-
ExecutionIntermediate registered as WOLFSSL_TEMP_CA without keyCertSign check
-
PersistChain validation accepts intermediate as signing CA
-
ImpactPresent attacker-signed end-entity cert as trusted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires all of the following to be simultaneously true: (1) the target application uses wolfSSL compiled with OPENSSL_EXTRA or OPENSSL_ALL; (2) the application uses X509_verify_cert or X509_STORE for certificate path building (the OpenSSL-compat path); (3) the build does NOT define ALLOW_INVALID_CERTSIGN; and (4) the attacker can supply a crafted untrusted chain intermediate - either via a MITM position on a TLS connection where the peer provides its own chain, or by controlling a subordinate CA that issues certificates consumed by the verifier. Native wolfSSL certificate verification does not create WOLFSSL_TEMP_CA entries and is entirely unaffected regardless of other conditions. The keyCertSign enforcement gap is only triggered when the intermediate's Key Usage extension is present (extKeyUsageSet); an intermediate with no Key Usage extension at all would imply all usages per RFC 5280 and would not trigger the vulnerable code path even before the fix. Operator-loaded root CAs and self-signed roots are also exempt by design. |
| Impact | The CVSS 4.0 score of 6.3 with vector AV:N/AC:L/AT:P/PR:N/UI:N reflects a medium-severity flaw. The AT:P (attack requirements present) metric is the critical limiting factor: exploitation requires the attacker to be positioned to supply a crafted certificate chain-typically a MITM role on an active TLS connection, or control over a subordinate CA issuing certificates that reach a wolfSSL verifier. The impact is integrity-only (VI:L) with no confidentiality or availability signal, indicating the realistic harm is certificate chain spoofing rather than code execution or data exposure. Scope is further reduced by the build-time requirement (OPENSSL_EXTRA/OPENSSL_ALL) and the compile-time escape hatch (ALLOW_INVALID_CERTSIGN), meaning deployments using native wolfSSL verification or non-compat builds are not exposed at all. No EPSS data is available; no KEV listing exists; no POC is known. The disconnect between the AC:L (low complexity) and AT:P (attack requirements present) in the 4.0 vector reflects that once the attacker has the required position, exploitation is straightforward, but achieving that position is a prerequisite that limits realistic exposure. This is a genuine cryptographic trust boundary violation worth patching promptly, but not a mass-exploitation risk given the constrained affected population. |
| Exploit ScenarioDerived | An attacker with a MITM position on a TLS connection to an application using wolfSSL's OpenSSL-compat verification path presents a crafted certificate chain containing an intermediate certificate that asserts CA:TRUE in the Basic Constraints extension but includes a Key Usage extension that does not set the keyCertSign bit. The vulnerable AddCA() logic accepts this intermediate as WOLFSSL_TEMP_CA without checking the keyCertSign requirement, allowing the attacker to then present an end-entity certificate signed by this malformed intermediate that passes chain validation. No public exploit code is known at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Certificate chain validation bypass in wolfSSL's OpenSSL-compatibility layer permits a crafted intermediate CA certificate asserting CA:TRUE but missing the keyCertSign key usage bit to be accepted as a valid signing CA during path building. Affected deployments are those compiled with OPENSSL_EXTRA or OPENSSL_ALL that use the X509_verify_cert/X509_STORE API; native wolfSSL verification is entirely unaffected. No public exploit identified at time of analysis, and no CISA KEV listing exists, but the integrity risk is concrete for any application relying on wolfSSL's OpenSSL-compat path for mutual TLS or client certificate authentication.
RemediationAI
The upstream fix is available as GitHub PR #10702 (https://github.com/wolfSSL/wolfssl/pull/10702); a tagged release version containing this fix is not independently confirmed from available data - consult the wolfSSL security advisory at https://www.wolfssl.com/docs/security-vulnerabilities/ for the confirmed patched release and upgrade to that version. If an immediate rebuild is not possible, the most targeted compensating control is to disable the OPENSSL_EXTRA/OPENSSL_ALL build flags and migrate certificate path validation to wolfSSL's native verification API, which does not create WOLFSSL_TEMP_CA entries and is entirely unaffected - note this requires application-level changes if OpenSSL API compatibility is relied upon. Alternatively, defining ALLOW_INVALID_CERTSIGN suppresses the enforcement check but intentionally weakens RFC 5280 compliance and should not be used in production security contexts. Applications performing mutual TLS should additionally consider pinning intermediate CA certificates or restricting accepted chain depth to reduce the attack surface until a patched build is deployed.
Affected VersionsENISA
Affected Packages
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
wolfSSL is a lightweight embedded TLS/SSL library targeting IoT, automotive, and resource-constrained environments (CPE: cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*). The defect is in the AddCA() function in src/ssl_certman.c, which governs how CA certificates are registered in the certificate manager. When building a certificate path via the OpenSSL-compatible X509_STORE/X509_verify_cert API, untrusted chain intermediates supplied by the peer are added as WOLFSSL_TEMP_CA (temporary CAs). Previously, the conditional enforcing RFC 5280's keyCertSign key usage requirement explicitly excluded WOLFSSL_TEMP_CA entries (type != WOLFSSL_TEMP_CA), meaning a peer-supplied intermediate asserting CA:TRUE but omitting the keyCertSign bit from its Key Usage extension was accepted as a signing CA. The PR #10702 fix removes this exemption: all non-self-signed intermediates with a Key Usage extension present (extKeyUsageSet) must carry keyCertSign, regardless of whether they are WOLFSSL_TEMP_CA or not. Only operator-loaded root CAs (WOLFSSL_USER_CA) and self-signed roots remain exempt. CWE-295 (Improper Certificate Validation) captures the root cause: the library failed to apply a mandatory RFC 5280 constraint to dynamically-added chain intermediates.
Know when Wolfssl 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network vector applies as chain is supplied over TLS, but AC:H reflects the prerequisite MITM/chain-control position and non-default build configuration; integrity-only, limited impact, no scope change.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
Chain intermediate CA:TRUE without keyCertSign accepted as a signing CA. Intermediate CA certificates are required to have the keyCertSign key usage when a Key Usage extension is present, but chain-supplied temporary CAs (WOLFSSL_TEMP_CA) added while building a certificate path were previously exempted from this check, so an intermediate asserting CA:TRUE but lacking keyCertSign was accepted as a signing CA. The check now applies to chain-supplied temporary CAs as well; only operator-loaded root certificates (WOLFSSL_USER_CA) and self-signed roots remain exempt. Per RFC 5280 an absent Key Usage extension implies all usages, so the requirement is enforced only when the extension is actually present (extKeyUsageSet). Affects the OpenSSL-compatibility certificate-path-building path (X509_verify_cert / X509_STORE, OPENSSL_EXTRA/OPENSSL_ALL), where untrusted chain intermediates are added as temporary CAs; native (non-OpenSSL-compat) certificate verification does not create temporary CAs and is unaffected. Within those builds, the check applies unless ALLOW_INVALID_CERTSIGN is defined.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i
A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting
Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve
wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C
Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce
wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra
In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (
An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
wolfSSL 4.3.0 has mulmod code in wc_ecc_mulmod_ex in ecc.c that does not properly resist timing side-channel attacks. Ra
In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh
An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).
wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t
EUVD-2026-39544
GHSA-68g3-7fhp-7rg3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB