Skip to main content

wolfSSL CVE-2026-55964

| EUVDEUVD-2026-39544 MEDIUM
Improper Certificate Validation (CWE-295)
2026-06-25 wolfSSL GHSA-68g3-7fhp-7rg3
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Identify wolfSSL OpenSSL-compat build via fingerprinting
  2. Delivery
    Gain MITM or chain-supply position on TLS session
  3. Exploit
    Present crafted intermediate cert (CA:TRUE, Key Usage extension present, keyCertSign bit absent)
  4. Execution
    Intermediate registered as WOLFSSL_TEMP_CA without keyCertSign check
  5. Persist
    Chain validation accepts intermediate as signing CA
  6. Impact
    Present 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

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

wolfSSL 5.7.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

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

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

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.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche embedded TLS library, primarily IoT and constrained-device deployments
Data Quality
6 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 Yes
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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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