Skip to main content

wolfSSL CVE-2026-7532

| EUVDEUVD-2026-39580 MEDIUM
Improper Certificate Validation (CWE-295)
2026-06-25 wolfSSL GHSA-h4jr-6mf9-63fq
5.7
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Access
    Compromise subordinate CA or obtain CA issuance credentials
  2. Delivery
    Issue end-entity certificate with IP SAN violating issuer nameConstraints
  3. Exploit
    Identify wolfSSL endpoint built without WOLFSSL_IP_ALT_NAME
  4. Execution
    Present constraint-violating certificate during TLS handshake
  5. Persist
    IP nameConstraints bypass accepted silently
  6. Impact
    Impersonate IP-restricted service within the PKI trust domain

Vulnerability Assessment

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

Three conditions must hold simultaneously for exploitation: (1) the target wolfSSL deployment must have been compiled without the WOLFSSL_IP_ALT_NAME preprocessor define - this is a non-default build-time configuration that omits IP address SAN processing at compile time, not a runtime setting; (2) the certificate chain being validated must include at least one CA certificate that carries a nameConstraints extension specifying IP address subtrees in its permitted or excluded name spaces - IP address name constraints are uncommon in public PKI but used in private enterprise or device PKI; and (3) the attacker must hold CA-level credentials sufficient to issue a certificate that violates those IP constraints, implying a compromised subordinate CA or privileged access to a certificate issuance system. Exploitation is limited by: high-privilege CA access requirement, mandatory absence of a specific compile-time flag in the target build, and the need for IP nameConstraints to be actively deployed in the PKI - any one of these absent conditions prevents exploitation.

Impact

The CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N) scores 5.7 (medium), with AT:P capturing the prerequisite build configuration condition and PR:H reflecting CA-level privilege requirements. Real-world risk is bounded by three converging constraints: the attacker must hold or have compromised a subordinate CA, the target must use wolfSSL built without WOLFSSL_IP_ALT_NAME, and the issuing CA must actually employ IP address nameConstraints - an uncommon PKI feature outside private or enterprise deployments. There is no CISA KEV listing and no public POC or exploit code identified at time of analysis. The AV:A assignment in the provided CVSS 4.0 vector warrants scrutiny: certificate presentation during TLS handshake is not inherently adjacent-network-limited; this may reflect wolfSSL's typical embedded/IoT deployment topology rather than a protocol constraint. Security teams in environments using private PKI with IP nameConstraints and wolfSSL-based devices should treat this as a meaningful integrity risk; deployments not using IP address name constraints face no direct exposure from this specific flaw.

Exploit ScenarioDerived

An attacker who has compromised a subordinate CA operating within a private PKI that uses IP address nameConstraints issues an end-entity certificate bearing an IP address SAN outside the permitted IP ranges encoded in the issuing CA's nameConstraints extension. When that certificate is presented during a TLS handshake to a wolfSSL endpoint compiled without WOLFSSL_IP_ALT_NAME, the constraint violation is never checked, the certificate is accepted as valid, and the attacker can impersonate services at IP addresses the issuing CA was never authorized to certify. No public proof-of-concept exploit has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% 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 IP address name constraint enforcement in wolfSSL is silently disabled when the library is compiled without the WOLFSSL_IP_ALT_NAME preprocessor define, allowing a CA operator to issue certificates bearing IP address Subject Alternative Names that the issuing CA's nameConstraints extension was intended to prohibit. Any wolfSSL-based TLS endpoint built in this configuration will accept these constraint-violating certificates as valid, undermining PKI-enforced IP address restrictions. No public exploit has been identified and this vulnerability is not listed in CISA KEV; the CVSS 4.0 score of 5.7 reflects meaningful exploitation constraints including high-privilege CA access and a specific non-default build configuration.

RemediationAI

Apply the upstream fix from wolfSSL GitHub PR #10354 (https://github.com/wolfSSL/wolfssl/pull/10354) once it is merged into a tagged release - a specific patched version number has not been independently confirmed from available data, so monitor https://www.wolfssl.com/docs/security-vulnerabilities/ for the confirmed fix release. As an immediate compensating control where recompilation is feasible, add WOLFSSL_IP_ALT_NAME to the build configuration; this re-enables the iPAddress SAN processing path and restores IP address name constraint enforcement, but may alter certificate selection behavior for end-entity certificates that present only iPAddress SANs and no DNS SANs - validate application TLS behavior in a test environment before deploying to production. If IP address name constraints are not in use within your PKI (i.e., no CA certificate in your chain contains a nameConstraints extension with permitted or excluded IP subtrees), the immediate operational impact of this vulnerability is negligible, but the fix should still be applied to maintain RFC 5280 compliance.

Affected VersionsENISA

wolfSSL 0 ≤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 SSL/TLS library for embedded and resource-constrained environments. RFC 5280 Section 4.2.1.10 defines the nameConstraints X.509v3 extension, allowing CAs to restrict subordinate certificates to permitted name subtypes including IP address ranges. In wolfSSL, the iPAddress SAN processing path inside CheckForAltNames (src/internal.c) is conditionally compiled under the WOLFSSL_IP_ALT_NAME macro. When that macro is absent, the iPAddress branch is excluded at compile time, causing the CN-fallback logic to treat iPAddress SAN entries as non-existent and skipping IP address name constraint checks entirely. The fix in PR #10354 introduces explicit type filtering so iPAddress entries are treated as absent from hostname matching without WOLFSSL_IP_ALT_NAME, while also correcting registeredID (RID) SAN handling - making those unconditionally available to ConfirmNameConstraints for RFC 5280 RID name constraint enforcement, independent of the WOLFSSL_RID_ALT_NAME build flag. CWE-295 (Improper Certificate Validation) correctly classifies this as a failure to enforce issuer-mandated certificate policy through an incomplete conditional compilation boundary.

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 5.7 MEDIUM
CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Certificate presentation occurs over any network so AV:N; AC:H for non-default build flag and IP nameConstraints deployment requirement; PR:H for CA-level issuance authority; integrity-only PKI bypass, no confidentiality or availability impact.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

DescriptionCVE.org

iPAddress name constraints bypass when WOLFSSL_IP_ALT_NAME is not defined. IP address name constraints are not enforced in that configuration, allowing a certificate to bypass an issuing CA's IP address constraints.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
popular embedded and IoT TLS library, not universal enterprise infrastructure
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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.1%
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
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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