Skip to main content

wolfSSL EUVDEUVD-2026-87906

| CVE-2026-94419 LOW
Improper Authentication (CWE-287)
2026-09-27 facts@wolfssl.com GHSA-c72q-45p9-v8qh
2.3
CVSS 4.0 · Vendor: wolfssl
View

Attack ChainAIDerived

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

  1. Access
    Gain on-path adjacent position
  2. Delivery
    Observe victim's cleartext TLS 1.2 session ID
  3. Exploit
    Serve matching session ID from attacker server
  4. Execution
    Overwrite client cache entry with attacker secret
  5. Persist
    Client resumes via poisoned handle, cert check skipped
  6. Impact
    Impersonate server and intercept plaintext

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a vulnerable BUILD: NO_SESSION_CACHE_REF, NO_SESSION_CACHE, NO_CLIENT_CACHE and TITAN_SESSION_CACHE must all be left undefined - this covers a plain ./configure, --enable-opensslextra and --enable-opensslall. It also requires the APPLICATION to use the legacy reference flow (wolfSSL_get_session()/SSL_get_session() followed by wolfSSL_set_session()); wolfSSL_get1_session() and wolfSSL_SetServerID() lookups are NOT affected. Only TLS 1.2/DTLS 1.2 and below are reachable - TLS 1.3 and ticket resumption use a client-chosen cache key and are safe. The attacker must hold an adjacent/on-path position to read the server-chosen cleartext session ID and must operate a server the client connects to, all within the poisoned entry's lifetime (default 500-second timeout). NOT affected: fifteen integration profiles that define NO_SESSION_CACHE_REF, including --enable-all, --enable-distro, --enable-curl, --enable-nginx, --enable-haproxy, --enable-stunnel, --enable-wpas and the OPENSSL_COMPATIBLE_DEFAULTS family, plus --enable-leanpsk/--enable-leantls/--enable-lowresource/--enable-tinytls13 which disable the cache outright.

Impact

This is a genuine authentication-bypass / TLS server-impersonation flaw (CWE-287) but its real-world exploitability is heavily gated, and the signals broadly agree it is not an urgent priority. The vendor CVSS 4.0 vector (AV:A/AC:H/AT:P/PR:N/UI:N, base 2.3) captures the key constraints: the attacker needs an adjacent/on-path position (AV:A), high complexity because they must observe the victim's cleartext session ID and win a cache-poisoning race (AC:H), and a specific set of build/runtime preconditions must hold (AT:P). There is no EPSS score provided, the CVE is NOT in CISA KEV, and no public exploit is referenced - the only linked artifact (PR #11500) is the fix, not a POC. I DISAGREE with the vendor's impact rating of VC:L/VI:L: a successful attack results in the attacker being accepted as the legitimate server for the entire connection with no certificate or domain-name validation, which is full server impersonation and therefore closer to high confidentiality AND integrity impact (client plaintext exposed, attacker responses trusted). The tension is real but resolvable: the impact is high, yet the compounding preconditions (adjacent position, legacy reference API, TLS 1.2/DTLS 1.2 only, and a vulnerable build configuration) keep the probability of exploitation low, which is why the numeric base score stays low. Net: real vulnerability worth patching, but not a drop-everything priority absent evidence of exploitation.

Exploit ScenarioDerived

An on-path attacker observes a wolfSSL 1.2 client's cleartext server-chosen session ID, then lures or redirects that client to an attacker-controlled TLS server that replays the same session ID, overwriting the client's process-global session-cache entry with the attacker's master secret. When the application later resumes through the cached handle (legacy wolfSSL_get_session/set_session flow), the abbreviated handshake sends no Certificate message, so chain and domain-name validation are skipped and the attacker is accepted as the original server. No public exploit code is referenced (the linked PR is the fix); exploitation is adjacent-network and high-complexity per the CVSS vector.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 27, 2026

TLS server impersonation in wolfSSL 5.3.0 through 5.9.2 lets an on-path attacker who observes a server-chosen TLS 1.2 session ID poison the client's process-global SessionCache and be accepted as the original peer for the entire lifetime of the resumed connection. The flaw lives in the legacy session-reference flow (wolfSSL_get_session()/SSL_get_session() followed by wolfSSL_set_session()), where the handle is validated only against a hash of the session ID; a second server reusing that ID overwrites the cached master secret, cipher suite and version, and the resulting abbreviated handshake sends no Certificate message, so neither chain verification nor wolfSSL_check_domain_name() ever runs. Reachability is heavily gated - a vulnerable build (NO_SESSION_CACHE_REF, NO_SESSION_CACHE, NO_CLIENT_CACHE and TITAN_SESSION_CACHE all left undefined), an adjacent/on-path attacker, TLS 1.2 or DTLS 1.2 or below, and completion within the default 500-second session timeout - and no public exploit has been identified at time of analysis; the CVSS 4.0 base score is 2.3, though the independent assessment rates confidentiality and integrity impact as high (CVSS 3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).

RemediationAI

Upgrade to a wolfSSL build newer than v5.9.2 that contains the fix from upstream PR #11500, since the affected range is v5.3.0 through v5.9.2; the fix adds a per-write generation counter to the session cache and raises WOLFSSL_CACHE_VERSION from 2 to 3, so any session cache persisted by an unfixed build is rejected by a fixed one - expect forced full handshakes or ticket re-establishment after upgrading and plan capacity accordingly. Where upgrading is not immediately possible, the most direct mitigation is to define NO_SESSION_CACHE_REF at build time or to build with one of the profiles that already define it (--enable-all, --enable-distro, --enable-curl, --enable-nginx, --enable-haproxy, --enable-stunnel, --enable-wpas and the rest of the OPENSSL_COMPATIBLE_DEFAULTS family); the trade-off is that this drops the compact reference path and its memory savings and can change cache semantics for code that depends on it, while broad profiles such as --enable-all increase binary size and enabled surface. Disabling the cache entirely with NO_SESSION_CACHE, NO_CLIENT_CACHE or TITAN_SESSION_CACHE (as --enable-leanpsk, --enable-leantls, --enable-lowresource and --enable-tinytls13 do) removes the vulnerable resumption path completely at the cost of losing abbreviated handshakes, i.e. higher CPU and latency per connection. At the application layer, replace wolfSSL_get_session()/SSL_get_session() plus wolfSSL_set_session() with wolfSSL_get1_session(), which returns an independent session object and is not affected, or rely on wolfSSL_SetServerID() lookups - both require source changes in the calling application. Restricting deployments to TLS 1.3, or moving to ticket-based resumption instead of server-chosen session IDs, also avoids the flaw but may break legacy TLS 1.2 peers. Reducing the session timeout below the 500-second default narrows the window in which a poisoned entry still resolves but does not eliminate the attack. Vendor reference: https://github.com/wolfSSL/wolfssl/pull/11500.

Affected VersionsENISA

wolfSSL 5.3.0 ≤5.9.2

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

The root-cause class is CWE-287 (Improper Authentication) inside wolfSSL's client-side session cache. When NO_SESSION_CACHE_REF is not compiled in, wolfSSL_get_session() does not hand back a self-contained session object but a compact ClientSession reference of the form {row, index, hash(sessionID)} that resolves into the process-global SessionCache, and ClientSessionToSession() validates that reference against the stored sessionID hash alone. Since the TLS 1.2 session ID is chosen by the server and sent in cleartext, an attacker able to read it can present the same ID on a later connection: AddSessionToCache() matches purely on the ID, and nothing on the write path compares the peer, the application-configured server ID or the owning WOLFSSL_CTX, so the client-side entry is overwritten with the attacker server's master secret, cipher suite and version while the existing handle still resolves. Resumption through that handle then performs an abbreviated handshake with no Certificate message, so neither certificate-chain verification nor wolfSSL_check_domain_name() executes and the attacker is accepted as the original server for the whole connection. Only TLS 1.2/DTLS 1.2 and below are reachable - TLS 1.3 and ticket resumption with an empty ServerHello session ID use a client-chosen cache key - and wolfSSL_get1_session(), which returns the session object itself, is unaffected, as are wolfSSL_SetServerID() lookups. Because the poisoned entry sits in a process-global cache it crosses WOLFSSL_CTX boundaries and persists until eviction or the default 500-second session timeout. The vendor fix in upstream PR #11500 adds a per-write generation counter to the cache and raises WOLFSSL_CACHE_VERSION from 2 to 3, which is why a cache persisted by an unfixed build is rejected by a patched one; the same PR also carries build-matrix entries for a session-cache-ref profile and for WOLFSSL_SMALL_CERT_VERIFY, plus OCSP/CRL test material, i.e. supporting test scaffolding around the new generation check and a separate certificate signature-versus-parse precedence path.

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

Adjacent on-path attacker (AV:A) must observe the session ID and win a poisoning race (AC:H), no auth or interaction needed (PR:N/UI:N); outcome is full server impersonation, so C:H/I:H, A:N.

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

Primary rating from Vendor (wolfssl).

CVSS VectorVendor: wolfssl

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

DescriptionCVE.org

Without NO_SESSION_CACHE_REF, wolfSSL_get_session() does not return a session object but a ClientSession reference of the form {row, index, hash(sessionID)} into the process-global SessionCache, and ClientSessionToSession() validates it against that hash alone. Because the TLS 1.2 session ID is chosen by the server and sent in clear, AddSessionToCache() matches any other server's session on the same ID and overwrites the client-side entry with that server's master secret, cipher suite and version, while the handle continues to resolve; nothing on the write path compares the peer, the application's server ID or the WOLFSSL_CTX. Resuming through the handle then produces an abbreviated handshake in which no Certificate message is sent, so neither chain verification nor wolfSSL_check_domain_name() runs, and the attacker is accepted as the original server for the whole of that connection. Affected builds are those leaving NO_SESSION_CACHE_REF, NO_SESSION_CACHE, NO_CLIENT_CACHE and TITAN_SESSION_CACHE all undefined, which includes a plain ./configure, --enable-opensslextra and --enable-opensslall; fifteen integration options define NO_SESSION_CACHE_REF and are therefore not affected, among them --enable-all, --enable-distro, --enable-curl, --enable-nginx, --enable-haproxy, --enable-stunnel, --enable-wpas and the rest of the OPENSSL_COMPATIBLE_DEFAULTS family, and --enable-leanpsk, --enable-leantls, --enable-lowresource and --enable-tinytls13 disable the cache outright. The application must use the legacy reference flow, wolfSSL_get_session() or SSL_get_session() followed by wolfSSL_set_session(); wolfSSL_get1_session() returns the session object itself and is not affected, nor are wolfSSL_SetServerID() lookups. Only TLS 1.2 and below and DTLS 1.2 and below are reachable, since TLS 1.3 and ticket resumption with an empty ServerHello session ID both use a client-chosen cache key. The poisoned entry lives in the process-global cache, so it crosses WOLFSSL_CTX boundaries and persists until the entry is evicted or the session times out, 500 seconds by default. Releases v5.3.0 through v5.9.2 are affected; the fix adds a per-write generation counter to the cache and raises WOLFSSL_CACHE_VERSION from 2 to 3, so a cache persisted by an older build is rejected by a fixed one.

Threat Intelligence Overview

EPSS Score
0.1%
Top 100% exploitable
Prevalence
Medium
widely used embedded/IoT TLS library, but only the non-integration build configs are vulnerable
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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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