Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition as/impersonate a TLS peer
-
DeliveryForge cert with expected subject, CA issuer, garbage signature, past validity
-
ExploitPresent in TLS/DTLS handshake; parse date error hides ASN_SIG_CONFIRM_E
-
ExecutionOverride-date verify callback accepts forged cert
-
ImpactAuthenticate as trusted peer and intercept session (MITM)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Two independent non-default prerequisites must both hold. First, the build must define WOLFSSL_SMALL_CERT_VERIFY - it is off by default, is not set by any platform/preset header, is not reachable from any CMake option, and is not enabled by --enable-all or --enable-distro; it is reached only via autotools --enable-lowresource, --enable-leantls, --enable-tinytls13=cert, --enable-tinytls13=mutualauth, or examples/configs/user_settings_embedded.h through WC_CFG_SMALL_CERT_VERIFY (which ships as 0). Second, the application must install a verify callback via wolfSSL_CTX_set_verify() or wolfSSL_set_verify() with WOLFSSL_VERIFY_PEER that returns 1 for ASN_BEFORE_DATE_E or ASN_AFTER_DATE_E (the shipped myVerify()/VERIFY_OVERRIDE_DATE_ERR shape, selected by examples/client -D). Limiting factors: an application with no callback, or whose callback returns preverify for date errors, still fails the handshake; wolfSSL_CertManagerVerifyBuffer() and wc_CheckCertSignature() report the signature error correctly. TLS 1.2, TLS 1.3 (both directions) and DTLS are affected; when the forged certificate is a chain certificate, callback consent caches it in the WOLFSSL_CTX certificate manager, so recovery requires restarting the context or process rather than merely reconnecting. |
| Impact | This is a genuine cryptographic signature-verification bypass (CWE-347) whose paper severity and real-world risk diverge sharply. The vendor CVSS 4.0 vector (2.3: AV:A/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N) understates the impact when the flaw is reachable - accepting a self-forged certificate that carries the trusted CA's subject as issuer is a full TLS peer-authentication bypass, which enables impersonation and man-in-the-middle (I:H, and C:H once the session is intercepted), not merely VI:L. However, the AC:H/AT:P and low base score correctly capture that exploitation is gated by two independent non-default preconditions: the build must define WOLFSSL_SMALL_CERT_VERIFY (off by default, not reachable via any CMake option, not enabled by --enable-all or --enable-distro), AND the application must install a verify callback that returns 1 (accept) for ASN_BEFORE_DATE_E/ASN_AFTER_DATE_E. No EPSS score, no CISA KEV entry, and no separately packaged POC are provided - although the description is essentially an exploit recipe and the fix PR ships a regression test, there is no evidence of exploitation. Net: high technical severity in the narrow vulnerable configuration, but low realistic priority because that configuration is rare. Note a signal conflict to verify with the vendor: CVSS says AV:A (adjacent/on-path) while the client-side direction (a vulnerable client connecting to an attacker-controlled endpoint) is effectively network-reachable (AV:N) with no adjacency. |
| Exploit ScenarioDerived | An attacker generates a certificate bearing the victim service's expected subject name, the trusted CA's subject as the issuer, arbitrary bytes in the signature field, a validity window set in the past, and the attacker's own key pair - requiring no CA compromise or real PKI key material. A wolfSSL peer built with WOLFSSL_SMALL_CERT_VERIFY whose application installs a date-error-overriding verify callback (the shipped myVerify/VERIFY_OVERRIDE_DATE_ERR shape, selected by examples/client -D) parses the expired cert, hits the date error which hides the never-surfaced ASN_SIG_CONFIRM_E, and the callback then accepts it - authenticating the attacker as the trusted peer. No public exploit is identified at time of analysis, though the disclosure describes the full technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
A certificate signature-verification bypass exists in wolfSSL builds compiled with WOLFSSL_SMALL_CERT_VERIFY, where the separate signature check performed by ProcessPeerCertParse() is merged back only when the certificate parse returns 0, causing ASN_SIG_CONFIRM_E to be discarded. An unauthenticated remote attacker can present a self-made certificate carrying the expected subject name and the trusted CA's subject as issuer with arbitrary signature bytes, and if the application's verify callback consents to date errors (the shipped myVerify()/VERIFY_OVERRIDE_DATE_ERR shape), the handshake succeeds - a genuine CWE-347 failure whose practical severity far exceeds its low base score because it requires two independent non-default configuration prerequisites. No public exploit code has been identified at time of analysis and the issue is not confirmed actively exploited (CISA KEV), but the flaw affects TLS 1.2, TLS 1.3 in both directions, and DTLS. Note that the two prerequisites - the compile-time macro and the permissive callback - mean default wolfSSL deployments and applications without a date-overriding callback remain unaffected.
RemediationAI
Apply the upstream fix in wolfSSL PR #11500 (https://github.com/wolfSSL/wolfssl/pull/11500), which restores signature-check precedence over post-signature parse errors via the new IsPostSigParseErr() helper; this is an upstream fix available (PR/commit), and a released patched version number is not independently confirmed in the supplied data, so verify against the vendor advisory before upgrading. The strongest immediate mitigation is to stop defining WOLFSSL_SMALL_CERT_VERIFY: remove --enable-lowresource, --enable-leantls, --enable-tinytls13=cert and --enable-tinytls13=mutualauth from build scripts, and ensure WC_CFG_SMALL_CERT_VERIFY remains 0 in user_settings_embedded.h - the trade-off is losing the reduced peak-memory certificate-verification path on the constrained embedded targets those options serve. Equally, remove or tighten the verify callback: a callback passed to wolfSSL_CTX_set_verify()/wolfSSL_set_verify() with WOLFSSL_VERIFY_PEER must not return 1 for ASN_BEFORE_DATE_E or ASN_AFTER_DATE_E, so applications built from the example myVerify()/VERIFY_OVERRIDE_DATE_ERR pattern (examples/client -D) should delete that override; the trade-off is that expired-but-otherwise-valid certificates will now correctly fail the handshake, which may break test harnesses or deliberately time-tolerant deployments. Where the permacative callback cannot be removed, use wolfSSL_CertManagerVerifyBuffer() or wc_CheckCertSignature() for an explicit signature check before relying on the handshake result, since both report ASN_SIG_CONFIRM_E correctly in the same binary. Finally, note that if a forged certificate was presented as a chain certificate, the callback's consent causes it to be cached in the WOLFSSL_CTX certificate manager, so an exposed deployment must restart the context or the process rather than merely reconnecting after remediation.
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
CVE-2026-94418 is an improper verification of cryptographic signature (CWE-347) in the wolfSSL TLS library, rooted in how the optional WOLFSSL_SMALL_CERT_VERIFY build mode restructures certificate validation to reduce peak memory. Under this mode, ProcessPeerCertParse() runs ConfirmSignature() separately from the certificate parse and then merges the two results; the merge was guarded by 'if (ret 0)', so a non-zero parse result discarded the signature result entirely. Critically, ParseCertRelative() reaches its validity-date (ASN_BEFORE_DATE_E / ASN_AFTER_DATE_E), name-constraint (ASN_NAME_INVALID_E / ASN_PATHLEN_SIZE_E) and critical-extension (ASN_CRIT_EXT_E) checks only after ConfirmSignature() has passed; splitting the signature check out therefore inverts the precedence that makes 'override date errors' a sound policy, and the ASN_SIG_CONFIRM_E condition is never surfaced anywhere in the affected path. The upstream fix (wolfSSL PR #11500) introduces an IsPostSigParseErr() helper and changes the merge guard to 'if (ret 0 || (sigRet != 0 && IsPostSigParseErr(ret)))', restoring signature failure precedence over post-signature parse errors. The vulnerable configuration is off by default, is not set implicitly by any platform or preset header, is not reachable from any CMake option, and is not enabled by --enable-all or --enable-distro; it is reached only through the autotools routes --enable-lowresource, --enable-leantls, --enable-tinytls13=cert and --enable-tinytls13=mutualauth, or via examples/configs/user_settings_embedded.h through WC_CFG_SMALL_CERT_VERIFY (which ships as 0). Notably, wolfSSL_CertManagerVerifyBuffer() and wc_CheckCertSignature() still report ASN_SIG_CONFIRM_E correctly in the same binary, so the defect is confined to the peer-certificate handshake path. The PR also adds a dedicated CI profile ('small-cert-verify') plus CRL/OCSP revocation test material, confirming the project now exercises this precedence path in the unit-test matrix where it was previously uncovered.
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:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Peer-authentication bypass enables impersonation/MITM (C:H/I:H); AC:H reflects the two required non-default conditions (build flag plus date-overriding callback); PR:N/UI:N as the attacker needs no credentials.
Primary rating from Vendor (wolfssl).
CVSS VectorVendor: wolfssl
DescriptionCVE.org
Under WOLFSSL_SMALL_CERT_VERIFY, ProcessPeerCertParse() runs the certificate signature check separately from the parse to keep peak memory down, then merges the two results, but it merged the signature result back only when the parse returned 0, so any parse error hid it. ParseCertRelative() reaches its validity-date, name-constraint and critical-extension checks only after ConfirmSignature() has passed, so splitting the signature check out inverts the precedence that makes "override date errors" a sound policy, and ASN_SIG_CONFIRM_E is never surfaced anywhere. The attacker needs no key material from the real PKI and no CA compromise: a self-made certificate carrying the expected subject name, the trusted CA's subject as its issuer, arbitrary bytes where the signature goes, a validity window in the past and the attacker's own key pair is sufficient. Affected builds define WOLFSSL_SMALL_CERT_VERIFY, which is off by default, is not set implicitly by any platform or preset header, and is not reachable from any CMake option; the autotools routes are --enable-lowresource, --enable-leantls, --enable-tinytls13=cert and --enable-tinytls13=mutualauth, and examples/configs/user_settings_embedded.h reaches it through WC_CFG_SMALL_CERT_VERIFY, which ships as 0, while neither --enable-all nor --enable-distro enables it at all. The application must additionally install a verify callback through wolfSSL_CTX_set_verify() or wolfSSL_set_verify() with WOLFSSL_VERIFY_PEER that returns 1 for ASN_BEFORE_DATE_E or ASN_AFTER_DATE_E; wolfSSL ships this exact shape as myVerify() in wolfssl/test.h under VERIFY_OVERRIDE_DATE_ERR, which examples/client -D selects. An application with no callback, or whose callback returns preverify for date errors, still fails the handshake, and wolfSSL_CertManagerVerifyBuffer() and wc_CheckCertSignature() report ASN_SIG_CONFIRM_E correctly in the same binary. TLS 1.2 and TLS 1.3 are affected in both directions, and DTLS reaches the same function; where the forged certificate is a chain certificate the callback's consent causes it to be cached in the WOLFSSL_CTX certificate manager, so an exposed deployment must restart the context or the process rather than merely reconnect.
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
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-87907
GHSA-q4rg-xp99-jj6q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB