Skip to main content

wolfSSL EUVDEUVD-2026-39482

| CVE-2026-6291 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-06-25 wolfSSL GHSA-hvwm-w7rw-23cv
6.0
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate with low-privilege credentials
  2. Delivery
    Identify PKCS#7 KTRI decryption endpoint
  3. Exploit
    Submit crafted EnvelopedData with manipulated RSA ciphertext
  4. Install
    Observe distinguishable padding vs. content error codes
  5. C2
    Iteratively adapt ciphertext via Bleichenbacher oracle queries
  6. Execute
    Recover Content Encryption Key
  7. Impact
    Decrypt captured ciphertext

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

Exploitation requires all of the following: (1) the target application must use wolfSSL's PKCS#7 KTRI decryption path with RSA PKCS#1 v1.5 key transport specifically - not RSA-OAEP, AES key wrap (KARI/KEKRecipientInfo), or password-based encryption; (2) the attacker must hold at minimum low-privilege access sufficient to submit arbitrary PKCS#7 EnvelopedData to the decryption interface (PR:L confirmed by CVSS 4.0 vector - completely unauthenticated remote exploitation is not supported); (3) the application must expose distinguishable error responses to the caller such that a padding validation failure produces a different observable outcome than a content parsing failure (captured by AT:P in CVSS 4.0). Exploitation is further limited by: the need to issue hundreds to thousands of adaptive queries, requiring sustained oracle access that may trigger anomaly detection or rate limiting; the RSA PKCS#1 v1.5 key transport mode must be active rather than replaced by OAEP or symmetric alternatives; and the oracle must be accessible at the authenticated low-privilege boundary rather than being normalized behind a generic error response at the application layer. Applications that return a single uniform error for all decryption failures are not exploitable even on unpatched versions.

Impact

The CVSS 4.0 score of 6.0 reflects meaningful but conditional risk. AV:N places the attack surface on the network, VC:H confirms full confidentiality impact on the vulnerable system (CEK recovery enabling ciphertext decryption), and PR:L requires at least low-privilege access. The AT:P designation is the most operationally significant modifier: exploitation requires the application to both accept user-supplied PKCS#7 KTRI input and expose observable error differentiation to the caller, narrowing the realistic attack surface to specific deployment patterns such as CMS processing APIs or S/MIME gateways. Bleichenbacher attacks are computationally intensive and require hundreds to thousands of adaptive oracle queries, which limits opportunistic exploitation and makes this more attractive for targeted attacks against high-value keys. No EPSS score was provided in the input data, preventing probability-of-exploitation quantification. No CISA KEV listing and no public POC have been identified in the available data, suggesting this has not yet reached widespread exploitation tooling. The primary real-world risk is targeted decryption of intercepted PKCS#7 messages in applications that expose the oracle; deployments using RSA-OAEP or AES key wrap are not affected by this specific flaw.

Exploit ScenarioDerived

An attacker with low-privilege access to an application that accepts user-supplied PKCS#7 EnvelopedData - such as a CMS processing endpoint or S/MIME gateway built on wolfSSL - submits thousands of adaptively crafted EnvelopedData messages with systematically manipulated RSA ciphertexts, recording the distinct error codes returned for padding failures versus content parsing failures. By correlating these observable differences across iterations, the attacker applies the Bleichenbacher adaptive chosen-ciphertext algorithm to incrementally narrow down the RSA plaintext value, ultimately recovering the CEK and decrypting any previously captured ciphertext encrypted to the targeted RSA key. No public POC has been identified; however, Bleichenbacher attack tooling is well-documented in academic and security research literature and is broadly reproducible.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

wolfSSL's PKCS#7 EnvelopedData decryption leaks RSA PKCS#1 v1.5 padding validity through distinguishable error codes, enabling a classic Bleichenbacher-style padding oracle attack that allows incremental recovery of the Content Encryption Key (CEK). All wolfSSL versions using PKCS#7 Key Transport Recipient Info (KTRI) with RSA PKCS#1 v1.5 are affected when the decryption interface exposes caller-observable error differentiation. A low-privileged attacker able to submit crafted EnvelopedData messages and observe server error responses can mount an adaptive chosen-ciphertext attack to recover session keys without knowledge of the RSA private key; no public exploit or CISA KEV listing has been identified at time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the fix is accessible via GitHub pull request #10203 at https://github.com/wolfSSL/wolfssl/pull/10203, but a specific tagged release incorporating this change has not been confirmed in the available data. Consult https://www.wolfssl.com/docs/security-vulnerabilities/ for the authoritative fixed release version once published and upgrade as soon as it is available. Until a patched build is deployed, specific compensating controls include: disabling RSA PKCS#1 v1.5 key transport and mandating RSA-OAEP or AES key wrap in PKCS#7 configurations, which eliminates the Bleichenbacher oracle entirely (trade-off: may break interoperability with legacy PKCS#7 senders); restricting access to any API or service that accepts user-supplied PKCS#7 EnvelopedData to trusted, authenticated principals to reduce the oracle's accessibility; and suppressing or normalizing all decryption error responses at the application layer to a single generic error so callers cannot distinguish padding failures from content errors (this is error-prone and should be treated as a temporary measure only, as application-layer normalization can be bypassed by timing differences). The PR diff also introduces the build-time macro WOLFSSL_NO_KTRI_ORACLE_WARNING; review PR #10203 for its precise semantics before relying on it as a mitigation.

Affected VersionsENISA

wolfSSL 3.9.10 ≤5.9.1

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

wolfSSL is a lightweight embedded TLS and cryptographic library (CPE: cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*) commonly deployed in IoT, RTOS, and resource-constrained environments. The vulnerability resides in PKCS#7 EnvelopedData processing via the Key Transport Recipient Info (KTRI) mechanism, which uses RSA PKCS#1 v1.5 encryption to wrap the Content Encryption Key. The root cause maps to CWE-208 (Observable Timing Discrepancy / Information Exposure Through Discrepancy): the library returned semantically distinct error codes depending on whether RSA padding validation failed versus whether the decrypted plaintext was structurally malformed - a textbook Bleichenbacher 1998 oracle primitive. The fix, implemented in ssl_p7p12.c, substitutes the distinguishable failure path with a HMAC-SHA256-derived deterministic fake CEK on padding failure and enforces constant-time processing throughout, so all failure paths produce identical observable output regardless of padding validity. The new build-time macro WOLFSSL_NO_KTRI_ORACLE_WARNING (added to .wolfssl_known_macro_extras) provides an explicit opt-out signal.

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

AC:H captures the AT:P oracle-access prerequisite; PR:L from CVSS 4.0 source data; no integrity or availability impact applies.

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

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

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

DescriptionCVE.org

Bleichenbacher padding oracle in PKCS#7 KTRI decryption. When decrypting PKCS#7 EnvelopedData using RSA PKCS#1 v1.5 key transport, wolfSSL returned distinguishable error codes depending on whether RSA padding validation failed versus whether the decrypted content was malformed. An attacker able to submit crafted EnvelopedData messages and observe error responses could use this as a padding oracle to incrementally recover the encrypted Content Encryption Key (CEK). The fix generates a deterministic pseudo-random fake CEK on padding failure (via HMAC-SHA256) and proceeds with decryption identically, using constant-time operations throughout, so that all failure paths produce the same error regardless of padding validity.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular embedded TLS library in IoT, RTOS, and constrained device markets
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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