Skip to main content

wolfSSL EUVDEUVD-2026-87922

| CVE-2026-89133 MEDIUM
Improper Certificate Validation (CWE-295)
2026-09-27 wolfSSL GHSA-vrp7-vcfx-j447
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Obtain leaf cert from unconstrained sub-CA
  2. Delivery
    Present forged out-of-scope cert in TLS handshake
  3. Exploit
    Chain walk resets NameConstraints state at unconstrained tier
  4. Execution
    wolfSSL accepts prohibited hostname
  5. Impact
    Impersonate/MITM peer within constrained PKI

Vulnerability Assessment

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

Requires a PKI trust chain where a name-constrained intermediate CA is followed by an UNCONSTRAINED CA tier above the leaf, and the affected relying party (wolfSSL 5.9.2 or earlier) must actually rely on NameConstraints extensions for trust decisions in its default build. The attacker must be able to obtain a leaf certificate issued by the unconstrained subordinate tier so it chains up to the constrained trust anchor. Limiting factors: high attack complexity (AC:H) because the specific multi-tier chain topology is not attacker-controllable in most PKIs; deployments that do not use name constraints are unaffected; no user interaction or authentication to the target is required (PR:N/UI:N), but real leverage depends on the attacker's access to a suitable issuing CA.

Impact

This is a genuine certificate-validation defect but a low-to-moderate real-world priority. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N) scores 6.3 (medium): network-reachable and unauthenticated, but with HIGH attack complexity and only LOW confidentiality/integrity impact and no availability impact. The AC:H rating is well-justified: exploitation requires a very specific PKI topology (a name-constrained intermediate CA, an UNCONSTRAINED CA tier beneath it, and the attacker able to obtain a leaf certificate from that lower tier), which is not attacker-controllable at will. No EPSS score, no CISA KEV listing, and no standalone weaponized exploit are present in the input - so there is no public exploit identified at time of analysis, though the fix PR (#10687) ships full attacker test certificate chains (certs/test/nc-ancestor/03-leaf-attacker*) that serve as reproduction material. Signals are consistent rather than conflicting: medium CVSS driven down by AC:H, no exploitation intelligence, and low technical impact all point the same direction. The most consequential caveat is that this affects the DEFAULT build configuration when name-constraint extensions are used, so environments relying on name-constrained delegation for trust segmentation should patch, while deployments not using name constraints are unaffected. I independently judge the impact slightly higher on the CVSS 3.1 scale than raw numbers suggest because a NameConstraints bypass can enable server impersonation/MITM within the constrained namespace, but AC:H keeps overall risk modest.

Exploit ScenarioDerived

An organization operates a name-constrained intermediate CA (e.g., permitted only to .example.com), but a subordinate CA beneath it lacks its own NameConstraints extension. An attacker who can obtain a leaf certificate from that unconstrained subordinate tier crafts a cert for a hostname outside the permitted namespace; because wolfSSL resets validation state at the unconstrained tier, it accepts the out-of-scope certificate, enabling impersonation or MITM of a TLS peer. No public standalone exploit is identified, but the fix PR includes attacker test certificate chains that reproduce the bypass.

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 name-constraint enforcement can be bypassed in wolfSSL 5.9.2 and earlier, allowing a certificate to be accepted for hostnames it is not authorized to cover. The X.509 path-validation state machine loses track of NameConstraints when an intermediate CA without a NameConstraints extension sits between a name-constrained CA and the leaf, so the effective trust delegation is not enforced; exploitation requires a PKI topology with exactly that chain shape and a relying party that uses name constraints in its default build. No public exploit code has been identified at time of analysis, and the attacker must already be able to obtain a leaf certificate chaining up through the unconstrained subordinate tier, which keeps real-world leverage conditional and complexity high.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the corrective change is in https://github.com/wolfSSL/wolfssl/pull/10687, so apply that patch or upgrade to the first wolfSSL release that contains it, and verify the release notes rather than assuming a version number not stated in the advisory data. Because no patched tagged release is confirmed here, the most direct compensating control is to avoid trusting chains in which an unconstrained CA sits between a name-constrained CA and the leaf: audit the trust store and remove or re-issue such intermediates so every tier below a constrained CA also carries the appropriate NameConstraints extension - the trade-off being possible breakage of legitimate certificates in that hierarchy. Alternatively, perform RFC 5280 path validation with name-constraint enforcement in a separate, correctly behaving layer in front of wolfSSL (for example a validating TLS termination proxy or a hardened certificate-validation library), accepting the added latency, deployment complexity and a second code path to maintain; simply disabling certificate validation is not an acceptable substitute. Deployments that make no use of NameConstraints are unaffected and need no immediate change, but should still track the fix. No public exploit code has been identified at time of analysis, so patching can be scheduled with normal change management rather than emergency handling.

Affected VersionsENISA

wolfSSL 0 ≤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 defect is a CWE-295 (Improper Certificate Validation) flaw in wolfSSL's X.509 path-building and validation code, specifically its handling of the RFC 5280 NameConstraints extension. NameConstraints lets a CA restrict the namespace its subordinates may assert, via permittedSubtrees and excludedSubtrees over dNSName, URI, directoryName and similar GeneralName types; a conforming validator must accumulate and enforce those constraints down every tier of the chain. In affected wolfSSL versions the chain-walking state machine appears to reset the accumulated constraint state whenever it encounters an intermediate certificate that carries no NameConstraints extension, so constraints imposed higher in the chain are silently dropped before the leaf is evaluated. The upstream fix (PR 10687) adds a dedicated certificate corpus under certs/test/nc-ancestor/ - a root (00-root-cert.pem), a name-constrained 'URI Permit CA' whose permitted subtree is example.com (01-uri-permit-ca-cert.pem), an unconstrained 'Benign Sub CA' (02-benign-sub-ca-cert.pem), and a set of leaf certificates including an attacker leaf and a valid leaf (03-leaf-chain.pem) - which precisely models the three-tier topology needed to exercise the bug. The flaw is only relevant in build configurations that process and rely on NameConstraints, i.e. the default configuration when such certificates are used; the CVSS 4.0 base of 6.3 and the independent CVSS 3.1 assessment of AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N agree that impact is bounded (partial confidentiality and integrity loss, no availability impact) because the attacker cannot generally choose the trust-chain topology of a real PKI. Authentication requirements are unauthenticated per the provided vectors (PR:N), meaning no credentials to the relying party are needed, but the attacker does need certificate-issuance capability from the relevant unconstrained subordinate CA.

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:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

Network-reachable, unauthenticated cert validation flaw, but AC:H due to the required name-constrained/unconstrained multi-tier chain; limited MITM impact gives C:L/I:L, no availability effect.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
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

wolfSSL versions 5.9.2 and earlier contain a flaw in the X.509 certificate validation logic where it fails to properly enforce NameConstraints extensions when there is an unconstrained CA tier between a name-constrained intermediate CA and the leaf certificate. wolfSSL incorrectly accepted certificates for hostnames they shouldn't be allowed to cover, due to a chain-walking state-machine bug that resets the validation state when encountering an intermediate without NameConstraints, thereby bypassing cryptographic delegation controls. This defect exists in the default build configuration that makes use of certificates where name constraint extensions are used. Thanks to Jack Lloyd, PathDiff, and Ben Smyth for reporting the issue.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
wolfSSL is a widely-used 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
Yes
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