Has it been Pwned
ImplementationPractical impactMedium confidence

wolfSSL ML-KEM compared only part of the ciphertext, enabling key recovery

wolfSSL's hand-written SIMD code for the ML-KEM decapsulation check compared only 1536 of 1568 ciphertext bytes on x86-64 AVX2 (ML-KEM-1024), and roughly half the bytes on ARM64 NEON. Ciphertexts tampered with only in the unchecked bytes bypassed implicit rejection. A follow-up paper turned this into a plaintext-checking oracle and recovered about 98% of an ML-KEM-1024 secret key against the shipped binaries with no timing measurement needed. Fixed in wolfSSL 5.9.2 (CVE-2026-10097, CVE-2026-6330).

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

ML-KEM is IND-CCA2 secure only because decapsulation re-encrypts the recovered message and returns the real key only if the result matches the received ciphertext exactly (the Fujisaki-Okamoto check). Skipping bytes in that comparison reopens the chosen-ciphertext attacks that lattice KEMs are known to be vulnerable to without the check. The paper notes that the skipped tail carries decryption noise that is linear in the secret, so least-squares recovers it without lattice reduction.

This is the most serious ML-KEM implementation bug reported to date. It needs a static or reused decapsulation key that the attacker can query many times; ephemeral TLS key shares are not exposed. A similar no-op implicit-rejection bug was reported in August 2026 in the unmaintained Rust crates pqc_kyber and cosmian_kyber (RUSTSEC-2026-0290/0288). None of these is a weakness in ML-KEM itself.

Sources

  1. cveCVE-2026-10097 (AVX2)NVD, nvd.nist.gov
  2. cveCVE-2026-6330 (NEON)NVD, nvd.nist.gov
  3. paperDas: Incomplete Ciphertext Comparison in ML-KEM: From an IND-CCA2 Break to Key RecoveryIACR ePrint, eprint.iacr.org
  4. announcementwolfSSL security vulnerabilities pagewolfSSL, wolfssl.com
  5. announcementRUSTSEC-2026-0290: pqc_kyber AVX2 implicit rejection no-opRustSec, rustsec.org