Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition on-path to OCSP-multi client
-
DeliveryPresent chain with attacker-controlled cert
-
ExploitCert admitted as CA without isCA check
-
ExecutionForge cert for target identity
-
PersistComplete TLS handshake as trusted
-
ImpactIntercept/decrypt session traffic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Requires a wolfSSL CLIENT built with HAVE_CERTIFICATE_STATUS_REQUEST_V2 that explicitly enables RFC 6961 multiple OCSP stapling via wolfSSL_UseOCSPStaplingV2(ssl, WOLFSSL_CSR2_OCSP_MULTI, options) - this is a non-default configuration. The attacker must possess a certificate, together with its private key, that already chains to a CA trusted by the client. Persistence of the poisoned end-entity certificate into the trust store depends on the leaf OCSP request being cached on the shared WOLFSSL_CTX (ssl->buffers.weOwnCert == 0); builds with OPENSSL_ALL (which implies WOLFSSL_COPY_CERT) give each SSL its own cert copy and take that persistent-cache path out of play, per the PR#11027 CI notes. The AT:P/attacker-must-already-hold-a-trusted-chain requirement is the main limiting factor. |
| Impact | This is a genuine certificate-validation defect (CWE-295) that enables full TLS man-in-the-middle, not merely an information leak, so it should be treated as a real priority for the subset of deployments that match the trigger conditions. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N, base 8.3) captures network reach and no-auth exploitability, but I disagree with VC:L: successful certificate forgery lets an attacker impersonate arbitrary servers and decrypt/observe the entire session, which is high confidentiality impact, not low. I also assess AC:H rather than AC:L because exploitation requires both a non-default client configuration (OCSP multi-stapling) and the attacker to already possess a certificate - with private key - that chains to a CA the client trusts (the AT:P attack-requirement reflects this). No EPSS score, no CISA KEV entry, and no public POC are present in the data; the flaw was found by internal wolfSSL testing, so exploitation status is 'no public exploit identified at time of analysis.' The signals are internally consistent (network vector, config-gated, integrity-focused) with the one caveat that the vendor's VC:L understates real-world confidentiality risk. |
| Exploit ScenarioDerived | A wolfSSL client is built with HAVE_CERTIFICATE_STATUS_REQUEST_V2 and calls wolfSSL_UseOCSPStaplingV2(ssl, WOLFSSL_CSR2_OCSP_MULTI, options). An on-path attacker who holds any leaf certificate (and its private key) that chains to a CA the client trusts presents a chain in which that certificate is accepted as a signing CA without an isCA/keyUsage check, then forges a certificate for the target server's identity and completes the handshake to intercept traffic. No public POC exists - the issue was found by internal wolfSSL testing - but the persistent CTX cache means the poisoned end-entity certificate keeps being trusted on later connections reusing the same context. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
Certificate forgery in the wolfSSL client (versions 5.7.2 through 5.9.2) lets a remote attacker who already holds any certificate and matching private key that chains to a CA the client trusts mint certificates for arbitrary identities that the affected client accepts as valid, enabling full TLS man-in-the-middle of connections that client initiates. The defect is reachable only in a non-default configuration: a client build with HAVE_CERTIFICATE_STATUS_REQUEST_V2 that explicitly enables RFC 6961 multiple OCSP stapling via wolfSSL_UseOCSPStaplingV2(ssl, WOLFSSL_CSR2_OCSP_MULTI, options); in addition, the attacker-supplied end-entity certificate can be written into the persistent trust store held by the shared WOLFSSL_CTX, so later connections that reuse that context stay affected even when multi-stapling is no longer in use. No public exploit identified at time of analysis; the vendor-reported CVSS 4.0 base of 8.3 and an independent assessment of CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N both treat this as a genuine certificate-validation failure (CWE-295) rather than a merely information-disclosing bug, with the 'attacker must already hold a certificate chaining to a trusted CA' prerequisite as the main limiting factor. Upstream fix is available as PR #11027; a released patched version is not independently confirmed in the available data.
RemediationAI
Apply the upstream fix tracked in PR #11027 (https://github.com/wolfSSL/wolfssl/pull/11027); upstream fix available (PR/commit); released patched version not independently confirmed in the available data, so verify which wolfSSL release bundles PR #11027 before relying on a version number rather than the commit. Where upgrading cannot happen immediately, remove the trigger: do not call wolfSSL_UseOCSPStaplingV2() with WOLFSSL_CSR2_OCSP_MULTI and do not enable RFC 6961 multi-stapling - single/standard OCSP stapling (WOLFSSL_CSR2_OCSP or the CSR v1 path) does not exercise the vulnerable pending-CA admission logic - or build without HAVE_CERTIFICATE_STATUS_REQUEST_V2 entirely; the trade-off is loss of OCSP-based revocation checking for stapled responses, so pair it with CRL checking or short-lived certificates. As a partial containment (not a fix), build with certificate copying enabled (WOLFSSL_COPY_CERT, or the OPENSSL_ALL configuration that implies it) so each SSL owns its certificate buffer and the poisoned leaf is not written into the shared WOLFSSL_CTX trust store, which limits persistence to the single connection but leaves the immediate forged-chain acceptance intact. Because the poisoned certificate manager state lives on the WOLFSSL_CTX, do not reuse long-lived contexts after suspected exposure: discard and recreate contexts (or restart the process) as part of remediation and after the upgrade. Additional compensating controls for environments that cannot change the flag set: pin the expected server certificate or public key for outbound connections (defeats forged identities even when chain validation is broken), and trim the client trust store to the minimum set of CAs actually needed, which raises the bar for the required 'attacker already holds a trusted-chain certificate and its private key' prerequisite but does not eliminate the bug.
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
The flaw sits in wolfSSL's client-side implementation of RFC 6961 (Multiple Certificate Status Request, i.e. multi-OCSP stapling), gated behind the compile-time feature HAVE_CERTIFICATE_STATUS_REQUEST_V2 and the runtime mode WOLFSSL_CSR2_OCSP_MULTI selected through wolfSSL_UseOCSPStaplingV2(). When the client processes the peer's chain in ProcessPeerCertAddPendingCA() (src/internal.c), it adds chain certificates to the internal 'pending CA' signer pool without verifying that the certificate is actually permitted to act as a CA. ParseCertRelative() consults that pending signer pool ahead of the certificate manager and uses the signer as a verification key with no further capability checks, so a non-CA certificate (for example any ordinary leaf or intermediate the attacker legitimately obtained from a CA in the client's trust store) is promoted into a trust-anchor-like role and can then sign forged end-entity certificates for arbitrary names. The root cause is CWE-295, Improper Certificate Validation: the admission path omitted the same isCA / keyUsage keyCertSign constraints that AddCA() enforces for chain CAs. A second contributing defect is the signer type: the pending signer was recorded as CA_TYPE rather than WOLFSSL_CHAIN_CA, and TLSX_CSR2_MergePendingCA() promotes that signer into the certificate manager while wolfSSL_CertManagerUnloadIntermediateCerts() selects entries by WOLFSSL_CHAIN_CA, so the poisoned material was not cleaned up and persisted in the trust store attached to the WOLFSSL_CTX, affecting subsequent connections. PR #11027 addresses this by rejecting non-CA certificates from the pending pool (skipping rather than failing, matching ProcessPeerCerts() behavior), enforcing KEYUSE_KEY_CERT_SIGN when the Key Usage extension is present (per RFC 5280 an absent extension implies all usages) unless ALLOW_INVALID_CERTSIGN is defined, and recording the signer as WOLFSSL_CHAIN_CA so the existing unload path works. The same PR also hardens adjacent OCSP plumbing: it adds an ASan-instrumented CI test for the WOLFSSL_CTX OCSP request cache (a leaf OCSP request is cached on the context when ssl->buffers.weOwnCert == 0 and shared across connections, where an ownership mistake would surface as a double free or use-after-free at CTX teardown), and fixes an InitCRL() error path that leaked a condition variable when HAVE_CRL_MONITOR is enabled. The CPE cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* is version-agnostic, so deployment teams must match it against the stated 5.7.2-5.9.2 range and against the client-role configuration flags rather than the CPE alone.
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:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Network MITM with no auth (PR:N/UI:N); AC:H because it needs non-default OCSP-multi config plus an attacker cert+key chaining to a trusted CA; full impersonation gives C:H/I:H, no availability effect.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
In wolfSSL versions 5.7.2 through 5.9.2 there is a client-side implementation flaw in RFC 6961, multiple OCSP response stapling, which can lead to certificate forgery. When a wolfSSL client enables OCSP stapling with the HAVE_CERTIFICATE_STATUS_REQUEST_V2 feature and calls wolfSSL_UseOCSPStaplingV2(ssl, WOLFSSL_CSR2_OCSP_MULTI, options), the client accepts any certificate in the peer's chain as a certificate authority without verifying that the certificate is actually authorized to act as one. This means that an attacker who possesses any certificate that chains to a CA trusted by the client (along with its private key) can forge certificates for arbitrary identities that will be accepted as valid by the client. The end entity certificate of the server is stored in the persistent trust store, affecting subsequent connections that reuse the context even when OCSP multi usage is not employed. Found by internal wolfSSL testing.
Technical POC Analysis
CWE-295 (Improper Certificate Validation).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
wolfSSL client deployments in versions 5.7.2 through 5.9.2 that are built with HAVE_CERTIFICATE_STATUS_REQUEST_V2 and enable RFC 6961 multiple OCSP stapling via wolfSSL_UseOCSPStaplingV2(ssl, WOLFSSL_CSR2_OCSP_MULTI, options) are vulnerable to certificate forgery, letting a remote unauthenticated attacker who already holds any certificate and matching private key chaining to a trusted CA mint certificates for arbitrary identities and conduct full TLS man-in-the-middle of client-initiated connections. The flaw can also poison the persistent trust store held by a shared WOLFSSL_CTX, so later connections using that context remain affected even after multi-stapling is disabled. Although no public exploit identified at time of analysis and the vulnerable path is non-default, wolfSSL is widely embedded in IoT, appliance, and edge devices, so leadership should treat fleet-wide inventory and removal of the vulnerable configuration as urgent.
No vendor-released patch identified at time of analysis. Interim mitigations: disable RFC 6961 multiple OCSP stapling and remove wolfSSL_UseOCSPStaplingV2(WOLFSSL_CSR2_OCSP_MULTI) calls; rebuild clients without HAVE_CERTIFICATE_STATUS_REQUEST_V2; clear and rotate persistent WOLFSSL_CTX trust stores; apply certificate pinning; segment and monitor affected client egress; and track the wolfSSL advisory for a fixed release.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
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
wolfSSL (formerly CyaSSL) before 3.6.8 does not properly handle faults associated with the Chinese Remainder Theorem (CR
EUVD-2026-87923
GHSA-f972-pmrg-c63r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB