Skip to main content

wolfSSL CVE-2026-10097

| EUVDEUVD-2026-39553 HIGH
Use of a Broken or Risky Cryptographic Algorithm (CWE-327)
2026-06-25 facts@wolfssl.com GHSA-hcgc-hfp6-58v4
8.3
CVSS 4.0 · Vendor: wolfssl
View

Attack ChainAIDerived

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

  1. Access
    Initiate ML-KEM-1024 KEM with wolfSSL AVX2 peer
  2. Delivery
    Tamper only final 32 ciphertext bytes
  3. Exploit
    Submit to AVX2 decapsulation oracle
  4. Execution
    Comparison skips block, returns real secret
  5. Persist
    Adaptively repeat to recover shared secret
  6. Impact
    Decrypt protected session data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Approved algorithm selection
Exploitation Conditions

Requires the target to run wolfSSL 5.7.0-5.9.1 built with the x86-64 AVX2 ML-KEM assembly and to use the ML-KEM-1024 parameter set (1568-byte ciphertext) for decapsulation; the defect lives in that AVX2 comparison path and the specific trailing 32-byte (offset 1536-1568) block. The attacker must be positioned as a chosen-ciphertext oracle against decapsulation - able to send manipulated ciphertexts whose only differences are in the final 32 bytes and observe whether the real shared secret (versus implicit rejection) is used. Limiting factors: reference-C/non-AVX2 builds and other ML-KEM parameter sets are unaffected; the CVSS AC:H and AT:P indicate a non-trivial adaptive chosen-ciphertext attack typically needing many queries and an application that actually exposes decapsulation behavior, rather than one-shot exploitation against a default configuration.

Impact

Signals are mostly aligned toward a serious-but-not-urgent cryptographic weakness. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N, VC:H) and 8.3 score reflect network reach and high confidentiality impact but explicitly flag High attack complexity and a present Attack Requirement (AT:P) - exploitation needs an adaptive chosen-ciphertext setup and likely many queries, not a single trivial request. This is corroborated by EPSS (0.15%, 5th percentile, indicating low predicted real-world exploitation) and by CISA SSVC (Exploitation: none, Automatable: no, Technical Impact: partial). There is no KEV listing and no public POC. The practical caveat: turning a CCA2 break into full shared-secret recovery generally requires a true decapsulation oracle and many adaptive queries; whether a deployed protocol exposes such an oracle depends on the application, so the VC:H rating represents a worst-case cryptographic ceiling rather than a guaranteed easy data breach. Net: real and worth patching promptly for anyone using the AVX2 ML-KEM-1024 path, but it is a high-CVSS, low-immediate-exploitability issue rather than a mass-exploitation emergency.

Exploit ScenarioDerived

An attacker negotiates a TLS or other key-exchange handshake using ML-KEM-1024 against a wolfSSL 5.7.0-5.9.1 peer running the AVX2 build, then repeatedly submits ciphertexts that are valid except for tampering confined to the final 32 bytes. Because decapsulation skips comparing that block, the server returns the real shared secret instead of implicitly rejecting, giving the attacker a CCA2 oracle that can be used in an adaptive attack to recover the session's shared secret. No public exploit code has been identified, and the high attack complexity (AC:H/AT:P) means many adaptive queries and a genuine oracle are required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv3 – Jun 26, 2026

Cryptographic decapsulation flaw in wolfSSL's ML-KEM-1024 (Kyber) x86-64 AVX2 code path (versions 5.7.0 through 5.9.1) breaks IND-CCA2 security by failing to compare the final 32-byte block of the 1568-byte ciphertext during the constant-time check, so the Fujisaki-Okamoto transform's mandatory implicit rejection is bypassed. An attacker acting as a chosen-ciphertext oracle can submit ciphertexts altered only in those trailing bytes and have decapsulation return the genuine shared secret rather than a rejection value. There is no public exploit identified at time of analysis, the EPSS score is very low (0.15%, 5th percentile), and CISA SSVC rates exploitation as none with partial technical impact.

Earlier versions of this analysis (2)
v2 Jun 26, 2026 - 17:28 cvss changed CVSS 8.3

Shared-secret recovery against ML-KEM-1024 in wolfSSL (5.7.0 through 5.9.1) arises because the x64 AVX2 constant-time ciphertext comparison in decapsulation skipped the final 32-byte block of the 1568-byte ciphertext, defeating the Fujisaki-Okamoto transform's implicit-rejection guarantee and breaking IND-CCA2 security. A chosen-ciphertext attacker who alters only those last bytes has the manipulation accepted as equal, so decapsulation returns the genuine shared secret instead of a rejection value, enabling a key-recovery oracle. This is no public exploit identified at time of analysis; it is not in CISA KEV and carries a low EPSS score (0.15%, 5th percentile), consistent with the SSVC assessment of no observed exploitation.

v1 Jun 25, 2026 - 20:31 CVSS 6.3

wolfSSL's ML-KEM-1024 AVX2 implementation on x64 platforms omits the final 32-byte block of the 1568-byte ciphertext from its constant-time comparison during decapsulation, breaking the Fujisaki-Okamoto transform's implicit rejection requirement and collapsing IND-CCA2 security. An unauthenticated remote attacker who can submit crafted ciphertexts modified only in bytes 1536-1567 causes the decapsulation oracle to return the real shared secret instead of the pseudorandom implicit-rejection value, enabling adaptive chosen-ciphertext attacks against ML-KEM-1024 key exchanges. No public exploit has been identified at time of analysis, but the vendor confirmed the flaw and an upstream fix is available in PR #10430.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the change from wolfSSL pull request https://github.com/wolfSSL/wolfssl/pull/10430, which extends the AVX2 _mlkem_cmp_avx2 routine to compare the final 32-byte block, and watch the wolfSSL security advisories page (https://www.wolfssl.com/docs/security-vulnerabilities/) for the tagged release succeeding 5.9.1 to upgrade to it once published. As a compensating control until a tagged release is deployed, build with the AVX2 ML-KEM assembly disabled to force the reference constant-time C comparison (trade-off: measurably slower ML-KEM operations on x64), or, where post-quantum KEM is not yet required, disable the ML-KEM-1024 cipher suite/group in negotiation so the vulnerable decapsulation path is never invoked (trade-off: loss of post-quantum protection for that session). Avoid exposing raw decapsulation as a queryable oracle in application protocols, which limits the adaptive chosen-ciphertext attack regardless of patch timing.

Affected VersionsENISA

wolfSSL 5.7.0 ≤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

The affected technology is wolfSSL's implementation of ML-KEM-1024 (FIPS 203, formerly CRYSTALS-Kyber), a NIST post-quantum key encapsulation mechanism. ML-KEM uses the Fujisaki-Okamoto transform to achieve IND-CCA2 security: during decapsulation the implementation re-encrypts the recovered message and must perform a constant-time comparison of the resulting ciphertext against the received one, returning a pseudorandom 'implicit rejection' secret if they differ. The CPE (cpe:2.3:a:wolfssl:wolfssl) and PR diff show the root cause is in the optimized AVX2 assembly comparison routine (_mlkem_cmp_avx2 in wc_mlkem_asm.S), which only iterated over the first 1536 bytes and never loaded/compared the trailing 32-byte (1536-1568) block of the ML-KEM-1024 ciphertext. CWE-327 (Use of a Broken or Risky Cryptographic Algorithm) captures the root cause: an incorrect/incomplete implementation of the FO transform's comparison defeats the CCA2 guarantee the algorithm depends on. The fix adds a vmovdqu/vpxor/vpor over offset 1536 to fold the final block into the comparison.

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

Network-reachable decapsulation oracle (AV:N, PR:N) but exploitation needs an adaptive chosen-ciphertext attack with many queries (AC:H); shared-secret recovery yields C:H with limited integrity impact (I:L).

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

Primary rating from Vendor (wolfssl).

CVSS VectorVendor: wolfssl

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

Lifecycle Timeline

4
Analysis Updated
Jun 26, 2026 - 17:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 26, 2026 - 17:28 vuln.today
v2 - CVSS changed
Severity Changed
Jun 26, 2026 - 17:22 NVD
MEDIUM HIGH
CVSS changed
Jun 26, 2026 - 17:22 NVD
6.3 (MEDIUM) 8.3 (HIGH)

DescriptionCVE.org

ML-KEM-1024 x64 AVX2 implicit rejection failure in the Fujisaki-Okamoto transform breaks IND-CCA2 security, allowing decapsulation to deviate from the implicit-rejection behavior required by the standard. The AVX2 constant-time ciphertext comparison used during decapsulation never compared the final 32-byte block of the 1568-byte ML-KEM-1024 ciphertext, so a ciphertext manipulated only in those final bytes would compare as equal and decapsulation returned the real shared secret instead of performing the required implicit rejection.

Executive ViewAI

Why It Matters

wolfSSL versions 5.7.0-5.9.1 contain a cryptographic flaw in ML-KEM-1024 (Kyber) that breaks key encapsulation security by bypassing mandatory rejection of invalid ciphertexts, potentially allowing attackers to derive predictable encryption keys during TLS handshakes. While no public exploit exists and real-world exploitation remains statistically unlikely (EPSS 0.2%), organizations using wolfSSL's post-quantum cryptography require immediate inventory and mitigation action until a vendor patch is available.

Business Impact: Medium
Compensating Controls

Until vendor patch is released: disable ML-KEM-1024 (Kyber) in TLS configuration and revert to classical cipher suites; maintain isolated network segments for affected systems if post-quantum migration is business-critical; enable detailed TLS handshake logging to detect anomalous key material derivation patterns; subscribe to wolfSSL security advisory notifications for patch announcement.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
widely used embedded/IoT TLS library, but vulnerable AVX2 post-quantum path newly adopted
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

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