{"id":"CVE-2026-10097","aliases":["CVE-2026-10097"],"related":[],"kind":"vulnerability","state":"published","title":"ML-KEM-1024 x64 AVX2 incomplete cipher text comparison enables IND-CCA2 break and static private-key recovery","summary":"wolfSSL's AVX2-optimized ML-KEM implementation (mlkem_cmp_avx2) compares only 1536 of the 1568 ciphertext bytes during the Fujisaki-Okamoto re-encryption check in ML-KEM-1024 decapsulation. Ciphertexts that differ from the expected re-encryption solely in bytes 1536-1567 bypass implicit rejection and are accepted as valid, breaking IND-CCA2 security. An attacker able to submit chosen ciphertexts to a decapsulation oracle that uses a static ML-KEM-1024 key, and to observe whether the genuine shared secret or the implicit-rejection secret was produced, can use this as a plaintext-checking oracle to recover the private key. A proof of concept recovered a full ML-KEM-1024 private key with approximately 98% success using roughly 350 chosen ciphertexts. The flaw is a deterministic logic error and does not rely on timing measurements.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"wolfSSL's AVX2-optimized ML-KEM implementation (mlkem_cmp_avx2) compares only 1536 of the 1568 ciphertext bytes during the Fujisaki-Okamoto re-encryption check in ML-KEM-1024 decapsulation. Ciphertexts that differ from the expected re-encryption solely in bytes 1536-1567 bypass implicit rejection and are accepted as valid, breaking IND-CCA2 security. An attacker able to submit chosen ciphertexts to a decapsulation oracle that uses a static ML-KEM-1024 key, and to observe whether the genuine shared secret or the implicit-rejection secret was produced, can use this as a plaintext-checking oracle to recover the private key. A proof of concept recovered a full ML-KEM-1024 private key with approximately 98% success using roughly 350 chosen ciphertexts. The flaw is a deterministic logic error and does not rely on timing measurements.","source":"cvelist"}],"published":"2026-06-25T19:59:30.848Z","modified":"2026-06-26T17:16:31.693Z","severity":{"scorer":"wolfSSL","scheme":"CVSS:4.0","vector":"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","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"wolfSSL","scheme":"CVSS:4.0","vector":"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","score":8.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-697"],"affected":[{"ranges":[{"type":"semver","introduced":"5.7.0","lastAffected":"5.9.1","status":"affected"}],"vendor":"wolfSSL","product":"wolfSSL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.7.0","fixed":"5.9.2"}],"vendor":"wolfssl","product":"wolfssl","cpe":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10430","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["007bsd (https://github.com/007bsd)"],"assigner":"wolfSSL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-26T13:51:27.508Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10097","url":"https://www.cve.org/CVERecord?id=CVE-2026-10097","licence":"CVE Terms of Use","modified":"2026-06-26T16:35:41.759Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10097","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10097","licence":"Public domain","modified":"2026-06-26T17:16:31.693Z"}],"updatedAt":"2026-11-25T22:59:26.426Z","epss":{"score":0.00161,"percentile":0.05472,"date":"2026-12-01T12:00:22.000Z"}}