Skip to content

CVE-2026-94419 Client session cache reference poisoning allows resumption with wrong server

LowCVSS 2.3 EPSS 0.10%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
NginxUbuntuDebian

Description

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.

Upgrade path

9 packages: 2 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
azure linux libical(Azure Linux 3.0) All versions No fix listed No fix yet
debian/wolfssl(Debian 12) = 5.5.4-2; = 5.5.4-2+deb12u1; = 5.5.4-2+deb12u2; = 5.5.4-2+deb12u3 +24 more No fix listed No fix yet
debian/wolfssl(Debian 13) = 5.7.2-0.1; = 5.7.2-0.1+deb13u1; = 5.7.2-0.1+deb13u2; = 5.7.2-0.2 +11 more No fix listed No fix yet
ubuntu/wolfssl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/wolfssl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/wolfssl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/wolfssl(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/wolfssl(Alpine v3.24) >= 5.3.0, < 5.9.4-r0 5.9.4-r0 Fixed
wolfSSL >= 5.3.0, <= 5.9.2 after 5.9.2 Fixed

Affected products

ProductAffected versionsFixed in
wolfSSL >= 5.3.0, <= 5.9.2 No fix listed
debian/wolfssl(Debian:12) All versions No fix listed
debian/wolfssl(Debian:12) = 5.5.4-2 No fix listed
debian/wolfssl(Debian:12) = 5.5.4-2+deb12u1 No fix listed
debian/wolfssl(Debian:12) = 5.5.4-2+deb12u2 No fix listed
debian/wolfssl(Debian:12) = 5.5.4-2+deb12u3 No fix listed
debian/wolfssl(Debian:12) = 5.5.4-2.1 No fix listed
debian/wolfssl(Debian:12) = 5.6.4-1 No fix listed
debian/wolfssl(Debian:12) = 5.6.4-2 No fix listed
debian/wolfssl(Debian:12) = 5.6.6-1 No fix listed
debian/wolfssl(Debian:12) = 5.6.6-1.1 No fix listed
debian/wolfssl(Debian:12) = 5.6.6-1.2 No fix listed
debian/wolfssl(Debian:12) = 5.6.6-1.3 No fix listed
debian/wolfssl(Debian:12) = 5.6.6-1.3~exp1 No fix listed
debian/wolfssl(Debian:12) = 5.7.0-0.1 No fix listed
debian/wolfssl(Debian:12) = 5.7.0-0.2 No fix listed
debian/wolfssl(Debian:12) = 5.7.0-0.3 No fix listed
debian/wolfssl(Debian:12) = 5.7.2-0.1 No fix listed
debian/wolfssl(Debian:12) = 5.7.2-0.2 No fix listed
debian/wolfssl(Debian:12) = 5.7.2-0.3 No fix listed
debian/wolfssl(Debian:12) = 5.7.2-0.4 No fix listed
debian/wolfssl(Debian:12) = 5.8.2-1 No fix listed
debian/wolfssl(Debian:12) = 5.8.2-1.1 No fix listed
debian/wolfssl(Debian:12) = 5.8.2-1.2 No fix listed
debian/wolfssl(Debian:12) = 5.8.4-1 No fix listed
Show 25 more
ProductAffected versionsFixed in
debian/wolfssl(Debian:12) = 5.9.0-0.1 No fix listed
debian/wolfssl(Debian:12) = 5.9.0-0.2 No fix listed
debian/wolfssl(Debian:12) = 5.9.1-0.1 No fix listed
debian/wolfssl(Debian:12) = 5.9.2-1 No fix listed
debian/wolfssl(Debian:13) All versions No fix listed
debian/wolfssl(Debian:13) = 5.7.2-0.1 No fix listed
debian/wolfssl(Debian:13) = 5.7.2-0.1+deb13u1 No fix listed
debian/wolfssl(Debian:13) = 5.7.2-0.1+deb13u2 No fix listed
debian/wolfssl(Debian:13) = 5.7.2-0.2 No fix listed
debian/wolfssl(Debian:13) = 5.7.2-0.3 No fix listed
debian/wolfssl(Debian:13) = 5.7.2-0.4 No fix listed
debian/wolfssl(Debian:13) = 5.8.2-1 No fix listed
debian/wolfssl(Debian:13) = 5.8.2-1.1 No fix listed
debian/wolfssl(Debian:13) = 5.8.2-1.2 No fix listed
debian/wolfssl(Debian:13) = 5.8.4-1 No fix listed
debian/wolfssl(Debian:13) = 5.9.0-0.1 No fix listed
debian/wolfssl(Debian:13) = 5.9.0-0.2 No fix listed
debian/wolfssl(Debian:13) = 5.9.1-0.1 No fix listed
debian/wolfssl(Debian:13) = 5.9.2-1 No fix listed
ubuntu/wolfssl(Ubuntu:22.04) All versions No fix listed
alpine/wolfssl(Alpine:v3.24) >= 5.3.0, < 5.9.4-r0 5.9.4-r0
ubuntu/wolfssl(Ubuntu:24.04) All versions No fix listed
ubuntu/wolfssl(Ubuntu:26.04) All versions No fix listed
ubuntu/wolfssl(Ubuntu:26.10) All versions No fix listed
azure linux libical(Azure Linux:3.0) All versions No fix listed

References