# CVE-2026-10097: ML-KEM-1024 x64 AVX2 incomplete cipher text comparison enables IND-CCA2 break and static private-key recovery

- Severity: High 8.3 (CVSS:4.0, scored by wolfSSL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-06-25T19:59:30.848Z
- Modified: 2026-06-26T17:16:31.693Z
- Weaknesses: CWE-697
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## Description

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.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: from 5.7.0 up to 5.9.1; from 5.7.0 before 5.9.2

## Every score

- wolfSSL: CVSS:4.0 8.3 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10430> (issue-tracking, patch)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-10097](https://www.cve.org/CVERecord?id=CVE-2026-10097), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-10097](https://nvd.nist.gov/vuln/detail/CVE-2026-10097), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-10097 · Whole record: https://cve.day/CVE-2026-10097.json · Rebuilt by cve.day 2026-11-25T22:59:26.426Z
