ML-KEM is mathematically sound. The library shipping it wasn’t β and for eight months, nobody noticed.
In August, researchers (including Anthropic’s Nicholas Carlini) disclosed two implementation flaws in wolfSSL’s hand-optimized ML-KEM decapsulation code. Both are now patched, but the mechanism deserves every CISO’s attention:
In August, researchers (including Anthropic’s Nicholas Carlini) disclosed two implementation flaws…”Β (which is already done well in the text!
π§π΅π² π―ππ΄: wolfSSL’s SIMD assembly for the FujisakiβOkamoto ciphertext-comparison check skipped bytes β the AVX2 path verified only 1,536 of 1,568 bytes on ML-KEM-1024; the ARM64 NEON path missed roughly half.
π§π΅π² π°πΌπ»ππ²πΎππ²π»π°π²: those skipped bytes carry decryption noise that’s a linear function of the secret key. An attacker who can submit malformed ciphertexts and observe decapsulation behavior can solve for that key via ordinary least squares β no lattice reduction needed. Reported success rate: 98%+, in a few hundred chosen ciphertexts.
π§π΅π² ππ°πΌπ½π²: CVE-2026-10097 (CVSS 8.3) and CVE-2026-6330 affected wolfSSL 5.7.0β5.9.1, fixed in 5.9.2. Static-key deployments carried real risk; ephemeral TLS sessions saw only a weaker distinguishing break.
π§π΅π² πΉπ²πππΌπ»: “NIST-standardized algorithm” and “correctly implemented algorithm” are two separate claims. The FO comparison step is now a first-order audit target for anyone reviewing PQC libraries in production.
ππΌπππΌπΊ ππΆπ»π²: Standardization solved the math problem. It didn’t solve the implementation problem β that’s on your team, your vendors, and whoever is auditing the crypto libraries actually running in your stack.
Is implementation-level review part of your PQC migration plan, or are you trusting library defaults?
#PostQuantumCryptography #PQC #Cybersecurity #CryptoAgility #MLKEM #CISO #QuantumSafe #InfoSec #TLS #NIST
Sources:
– Incomplete Ciphertext Comparison in ML-KEM: From an IND-CCA2 Break to Key Recovery (IACR ePrint 2026/1682): https://eprint.iacr.org/2026/
– CVE-2026-10097 record: https://app.opencve.io/cve/
– wolfSSL ML-KEM Key Recovery Bug analysis: https://postquantum.com/security-pqc/wolfssl-mlkem-key-recovery-fo-check/