Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach app calling X509_verify_cert
-
DeliverySend chain that fails verification
-
ExploitAttacker CA persists in shared CertManager
-
ExecutionPresent cert chaining to planted CA
-
PersistSibling consumers accept as trusted
-
ImpactMITM reads/modifies TLS traffic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Requires wolfSSL 5.8.4-5.9.2 built with the OPENSSL_EXTRA && !NO_CERTS && !WOLFCRYPT_ONLY macros (i.e. --enable-opensslextra), AND an application that specifically invokes the wolfSSL_X509_verify_cert compatibility API. Exploitation is triggered by first causing a verification to FAIL, which leaves the attacker-supplied intermediate/CA cached in the shared CertManager; the attacker must then be positioned on-path to present a chain rooted at that planted CA. Limiting factors: non-default build configuration, dependence on the application calling X509_verify_cert directly, and the CVSS AC:H/AT:P requirement that a prior failed verification occur - applications using only stapling or not calling this compatibility function are unaffected. |
| Impact | This is a genuine certificate-validation bypass (CWE-295) in wolfSSL but with several dampening conditions. The vendor CVSS 4.0 vector (6.3, AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L) already signals meaningful complexity: AC:H plus AT:P means exploitation depends on preconditions rather than being trivially repeatable. No EPSS score, KEV listing, POC, or SSVC decision data is present in the input, and the only reference is the fixing pull request (PR#11009) - so exploitation status is 'no public exploit identified at time of analysis.' The realistic risk is gated behind three stacked prerequisites (a specific build configuration, an application that explicitly calls X509_verify_cert, and an attacker-triggered failed verification that plants the CA), which keeps this from being a drop-everything issue despite the serious security-property loss. I disagree modestly with the vendor's VC:L/VI:L impact: once an unverified attacker CA persists in the shared CertManager, every sibling consumer (native TLS, OCSP, CRL, direct CM verify) will trust attacker-presented certificates, which enables a full man-in-the-middle able to read and modify protected traffic - that is closer to high confidentiality/integrity impact. Net: a real, patch-worthy validation bypass, but medium-priority in practice because of the narrow configuration and the AC:H/AT:P trigger, not a high-CVSS-but-empty finding. |
| Exploit ScenarioDerived | An application built with OPENSSL_EXTRA (or --enable-opensslextra) that calls wolfSSL_X509_verify_cert on peer-supplied chains first fails a verification, which silently leaves the attacker's unverified intermediate/CA cached in the shared CertManager. A network man-in-the-middle then presents a certificate chaining to that planted CA; the type-blind TLS/OCSP/CRL consumers now accept it as trusted, letting the attacker intercept and modify the connection. No public exploit code is identified in the provided data, and the network attack requires the specific build and prior failed-verify trigger (AC:H/AT:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
Certificate-validation bypass in wolfSSL 5.8.4 through 5.9.2 lets an attacker-supplied CA become permanently trusted: a first, deliberately failed wolfSSL_X509_verify_cert call leaves the attacker's intermediate/root cached in the process-wide CertManager, so a later on-path attacker presenting a chain rooted at that planted CA is accepted by any type-blind consumer of the shared store (native TLS, OCSP, CRL, direct CM verification). The bug is reachable by unauthenticated remote attackers (CVSS PR:N/AV:N) but is heavily constrained: it requires a non-default build (OPENSSL_EXTRA && !NO_CERTS && !WOLFCRYPT_ONLY, i.e. --enable-opensslextra), an application that actually calls the X509_verify_cert compatibility API, and the AC:H/AT:P precondition that a prior verification failure was induced, so applications relying on stapling or native wolfSSL verification are unaffected. No public exploit code or confirmed active exploitation has been identified at time of analysis; the upstream fix is in GitHub PR 11009, with the released patched version not independently confirmed.
RemediationAI
Patch status: upstream fix available (PR/commit) - https://github.com/wolfSSL/wolfssl/pull/11009 -, but a released patched version number is not independently confirmed, so treat this as a source-level fix to backport and verify against the vendor's advisory/release notes rather than assuming a specific tag exists. Primary action is to upgrade wolfSSL to the first release containing PR 11009's changes as published by wolfSSL, and, where immediate upgrades are impractical, to validate or backport the specific change in src/x509_str.c that makes removal of CertManager-added intermediates unconditional and requires the chain to reach a caller-trusted anchor. Because the issue is configuration- and call-path-gated, effective compensating controls are: (1) rebuild without --enable-opensslextra (drop the OPENSSL_EXTRA macro) or, if the OpenSSL compatibility layer is required, stop calling wolfSSL_X509_verify_cert directly and use wolfSSL's native verification APIs - the trade-off is loss of OpenSSL API compatibility and possible application rework; (2) avoid long-lived, shared WOLFSSL_CTX/CertManager instances across requests so that a poisoned store cannot outlive one connection - this costs per-connection context setup overhead and must be backed by tests confirming state is not reused; (3) where feasible, pin the expected trust anchors at the application layer and reject any chain terminating at a CA not in the application's own allowlist, which duplicates trust-store logic but neutralizes planted anchors; and (4) monitor for the upstream release that supersedes 5.9.2 and re-verify the RPK extension binding checks from PR 11009 are present, since a peer may otherwise force RawPublicKey and skip chain verification entirely.
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
The flaw is CWE-295 (Improper Certificate Validation) rooted in how wolfSSL's X509_verify_cert compatibility layer manipulates the shared CertManager. During chain building, untrusted intermediates are temporarily added to the CertManager; the pre-patch code tracked this with an 'added' flag and made the exit-time cleanup conditional, so a verification that failed could leave attacker-controlled certificates loaded and reusable in the same process/context. Because the CertManager is a shared, type-blind trust store, any sibling consumer that consults it - native TLS chain verification, OCSP response validation, CRL issuer checks, or a direct CertManager verify - thereafter treats the planted CA as a valid anchor. The fix in PR 11009 (src/x509_str.c, with supporting changes in src/internal.c, src/ssl.c, src/tls.c) removes the conditional 'added' accounting and unconditionally removes intermediates added to the CM, verifies that the chain actually reaches a caller-trusted anchor rather than merely having loaded some untrusted intermediate, zeroes and frees dynamic output buffers safely, resets the output buffer indices, and hardens the RFC 7250/8446 RawPublicKey certificate-type extensions by rejecting client_cert_type/server_cert_type values that the peer never offered (which otherwise let a peer force RawPublicKey and skip chain verification via the stored 'negotiated' value). Affected builds are identified by CPE cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* and specifically require the opensslextra configuration combined with a direct call into the OpenSSL-compatible X509_verify_cert entry point.
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:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network MITM with no auth (PR:N/AV:N) but AC:H from the required build config plus attacker-triggered failed verify; a planted CA enables full read/modify of traffic (C:H/I:H).
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
A failed X509_verify_cert call permanently plants an unverified attacker CA in the shared CertManager, bypassing certificate validation in every type-blind sibling consumer (native TLS, OCSP, CRL, direct CM verify). This affects version 5.8.4 through 5.9.2 of wolfSSL with the macros (OPENSSL_EXTRA && !NO_CERTS && !WOLFCRYPT_ONLY) defined or built with --enable-opensslextra and the application is specifically making calls to the X509_verify_cert function.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-87912
GHSA-m732-8qwx-39wm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB