Skip to main content

wolfSSL EUVDEUVD-2026-87912

| CVE-2026-89135 MEDIUM
Improper Certificate Validation (CWE-295)
2026-09-27 wolfSSL GHSA-m732-8qwx-39wm
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Reach app calling X509_verify_cert
  2. Delivery
    Send chain that fails verification
  3. Exploit
    Attacker CA persists in shared CertManager
  4. Execution
    Present cert chaining to planted CA
  5. Persist
    Sibling consumers accept as trusted
  6. Impact
    MITM 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

wolfSSL 5.8.4 ≤5.9.2

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 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

Vendor (wolfSSL) PRIMARY 6.3 MEDIUM
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
vuln.today AI 7.4 HIGH

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).

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
wolfSSL is a common embedded/IoT TLS library but not ubiquitous like OpenSSL
Data Quality
7 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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-2017-13099 HIGH POC
7.5 Dec 13

wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i

CVE-2017-2800 CRITICAL POC
9.8 May 24

A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting

CVE-2026-89136 HIGH POC
8.3 Sep 27

Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve

CVE-2026-93302 HIGH POC
8.3 Sep 27

wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C

CVE-2026-89102 HIGH POC
8.3 Sep 27

Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce

CVE-2015-6925 HIGH POC
7.5 Jan 22

wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra

CVE-2022-39173 HIGH POC
7.5 Sep 29

In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (

CVE-2022-38152 HIGH POC
7.5 Aug 31

An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita

CVE-2020-11713 HIGH POC
7.5 Apr 12

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

CVE-2019-18840 HIGH POC
7.5 Nov 09

In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh

CVE-2020-15309 HIGH POC
7.0 Aug 21

An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).

CVE-2020-24613 MEDIUM POC
6.8 Aug 24

wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t

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