Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise subordinate CA or obtain CA issuance credentials
-
DeliveryIssue end-entity certificate with IP SAN violating issuer nameConstraints
-
ExploitIdentify wolfSSL endpoint built without WOLFSSL_IP_ALT_NAME
-
ExecutionPresent constraint-violating certificate during TLS handshake
-
PersistIP nameConstraints bypass accepted silently
-
ImpactImpersonate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange i
A specially crafted x509 certificate can cause a single out of bounds byte overwrite in wolfSSL through 3.10.2 resulting
Authentication bypass in wolfSSL TLS clients built with Raw Public Key (RPK) support allows a malicious or on-path serve
wolfSSL builds that enable the WOLFSSL_TRUST_PEER_CERT macro can be induced to accept a forged clone of a trusted-peer C
Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any ce
wolfSSL (formerly CyaSSL) before 3.6.8 allows remote attackers to cause a denial of service (resource consumption or tra
In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. Rated high severity (
An issue was discovered in wolfSSL before 5.5.0. Rated high severity (CVSS 7.5), this vulnerability is remotely exploita
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
In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data wh
An issue was discovered in wolfSSL before 4.5.0, when single precision is not employed. Rated high severity (CVSS 7.0).
wolfSSL before 4.5.0 mishandles TLS 1.3 server data in the WAIT_CERT_CR state, within SanityCheckTls13MsgReceived() in t
EUVD-2026-39580
GHSA-h4jr-6mf9-63fq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB