Implementation vulnerability·Demonstrated·Action: patch

wolfSSL ML-KEM: truncated ciphertext comparison breaks IND-CCA2, enables key recovery

wolfSSL's hand-written AVX2 code compared only 1536 of 1568 ciphertext bytes in the Fujisaki-Okamoto check of ML-KEM-1024 decapsulation (CVE-2026-10097), and its ARM64 NEON code compared only about half of the ciphertext (CVE-2026-6330). The CVE record reports a proof of concept recovering a full ML-KEM-1024 private key in about 98% of runs with roughly 350 chosen ciphertexts against a static key; an ePrint paper by B. S. Das analyses the bug further. Both are logic errors in one library's assembly paths, fixed in wolfSSL 5.9.2; they do not affect ML-KEM itself.

Sources

Primary source first