Skip to main content

wolfSSL CVE-2026-10592

| EUVDEUVD-2026-39549 MEDIUM
Improper Certificate Validation (CWE-295)
2026-06-25 wolfSSL GHSA-m8r2-qgr6-4gqm
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 deployment under name-constrained PKI
  2. Delivery
    Obtain wildcard cert violating CA name constraints
  3. Exploit
    Present cert during TLS handshake
  4. Execution
    Bypass wolfSSL name-constraint check
  5. Impact
    Impersonate restricted hostname in authenticated TLS session

Vulnerability Assessment

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

Exploitation requires three concurrent conditions: first, the target application must use wolfSSL compiled with WOLFSSL_ASN_TEMPLATE and associated extensions (WOLFSSL_CERT_EXT, WOLFSSL_ALT_NAMES, WOLFSSL_CERT_GEN) without the IGNORE_NAME_CONSTRAINTS compile flag; second, the PKI hierarchy in use must include a CA certificate that defines nameConstraints with permitted or excluded DNS or URI subtrees per RFC 5280 §4.2.1.10 - this is a deliberate, non-default CA configuration present primarily in purpose-built enterprise or government PKIs; third, an attacker must be able to obtain or present a certificate containing a wildcard DNS SAN (e.g., '*.example.com') or a sub-host URI SAN that falls within the constrained namespace. Exploitation is concretely limited by the rarity of name-constrained CA deployments: standard commercial TLS infrastructures, most enterprise PKIs, and public WebPKI hierarchies do not typically enforce nameConstraints, making those deployments entirely unaffected regardless of wolfSSL version.

Impact

The CVSS 4.0 score of 6.3 with AT:P (attack target requiring specific conditions) and VI:L (low integrity impact) accurately reflects the constrained threat model. Real-world exploitation requires a PKI hierarchy where a CA enforces DNS or URI name constraints - a configuration far less common than default commercial or enterprise PKI deployments, which typically do not configure nameConstraints. The CVSS 4.0 vector provided (AV:N/AC:L/AT:P/PR:N/UI:N) indicates the network path is accessible without authentication, but AT:P limits mass exploitation since the attack presupposes a constrained-CA environment. No EPSS score is included in the available data; given the niche prerequisite (constrained PKI), opportunistic mass exploitation is unlikely. No CISA KEV listing exists, and no POC exploit code has been identified - exploitation risk is concentrated in organizations that use wolfSSL within purpose-built, name-constrained PKI hierarchies for access control decisions. The upstream fix is traceable to PR #10549 but no tagged release incorporating it has been confirmed, leaving patch status as 'upstream fix available, released version unconfirmed.'

Exploit ScenarioDerived

An attacker who can obtain or cause a name-constrained intermediate CA to issue a wildcard certificate - for example, '*.example.com' where the CA's excluded subtree includes 'foo.example.com' - presents that certificate during a TLS handshake to a relying party running wolfSSL. wolfSSL's flawed byte-length guard incorrectly accepts the wildcard SAN without flagging the constraint violation, enabling the attacker to impersonate 'foo.example.com' within a TLS session that the CA's policy was intended to prohibit. No public proof-of-concept exploit code has been identified at the time of this 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

wolfSSL's certificate chain validation logic incorrectly evaluates wildcard DNS Subject Alternative Names (SANs) against CA-enforced name constraints, allowing certificates that should be rejected under a constrained PKI hierarchy to be silently accepted. Any wolfSSL-powered application that validates certificate chains in a PKI where intermediate or root CAs define permitted or excluded DNS name constraints per RFC 5280 §4.2.1.10 is affected; all versions matching cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* are listed as affected. No active exploitation is confirmed (not in CISA KEV) and no public exploit code has been identified; an upstream patch is available via PR #10549 but a tagged release version has not been independently confirmed.

RemediationAI

Apply the upstream fix available in GitHub PR #10549 (https://github.com/wolfSSL/wolfssl/pull/10549) once it is incorporated into a tagged wolfSSL release; monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the official release version, as a specific patched version number is not independently confirmed from available data. As a compensating control prior to patching, organizations relying on name-constrained PKI hierarchies for security decisions should implement an independent second-pass validation of certificate name constraints at the application layer using a separately verified library, or enforce a policy that rejects wildcard SANs in contexts where constrained CAs govern access. Rejecting all wildcard SANs will impact legitimate certificates already in production, so an audit of existing wildcard deployments is required before applying this control. Builds using IGNORE_NAME_CONSTRAINTS are not affected by this specific bypass but forfeit all name-constraint enforcement.

Affected VersionsENISA

wolfSSL 3.9.10 ≤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 (CPE: cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*) is a lightweight, embedded C-based SSL/TLS library targeting IoT, RTOS, and resource-constrained environments. RFC 5280 §4.2.1.10 defines the nameConstraints CA extension, which restricts the namespace of subject names permitted in subordinate certificates: an excluded constraint on 'foo.example.com' must reject any SAN that could expand to that hostname, including the wildcard '*.example.com'. The wolfSSL ASN template path (WOLFSSL_ASN_TEMPLATE) contained a byte-length comparison guard during wildcard SAN evaluation that failed to correctly test SAN values against excluded or permitted DNS name constraint entries, permitting violating wildcards to pass unchallenged - a CWE-295 (Improper Certificate Validation) root cause. A parallel flaw existed in URI name constraints: a permitted constraint without a leading dot (e.g., 'host.com') mandates an exact host match under RFC 5280, but wolfSSL incorrectly applied subtree-matching semantics, accepting sub-host URIs such as 'https://www.host.com/' when only 'https://host.com/' should be allowed. The PR diff confirms these two distinct bypass paths and adds comprehensive regression tests covering both excluded and permitted subtree scenarios for DNS and URI GeneralName types.

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

Requires a name-constrained CA PKI environment (AC:H); no authentication needed on the validation path; integrity-only impact via improper certificate acceptance.

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

Certificates with wildcard DNS SANs (e.g. *.example.com) bypassed CA name-constraint checks. A certificate with a wildcard DNS SAN that should be rejected by the issuing CA's permitted/excluded DNS name constraints could be accepted.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
widely used embedded/IoT TLS library with broad but deployment-niche footprint
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

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