Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInitiate ML-KEM-1024 KEM with wolfSSL AVX2 peer
-
DeliveryTamper only final 32 ciphertext bytes
-
ExploitSubmit to AVX2 decapsulation oracle
-
ExecutionComparison skips block, returns real secret
-
PersistAdaptively repeat to recover shared secret
-
ImpactDecrypt 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
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
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
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
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).
Primary rating from Vendor (wolfssl).
CVSS VectorVendor: wolfssl
Lifecycle Timeline
4DescriptionCVE.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
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.
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
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-39553
GHSA-hcgc-hfp6-58v4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB