PT-2026-52560 · Wolfssl · Wolfssl
CVSS v4.0
8.3
High
| Vector | AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
wolfSSL (affected versions not specified)
Description
The AVX2-optimized ML-KEM implementation contains a logic error in the
mlkem cmp avx2 function during the Fujisaki-Okamoto transform. In ML-KEM-1024 decapsulation, the constant-time ciphertext comparison only checks 1536 of the 1568 ciphertext bytes, failing to compare the final 32-byte block. This allows ciphertexts manipulated only in those final bytes to bypass implicit rejection and be accepted as valid, breaking IND-CCA2 security (a security property ensuring that an attacker cannot distinguish between different decryptions of the same ciphertext). An attacker can use this as a plaintext-checking oracle to recover the private key by submitting chosen ciphertexts to a decapsulation oracle using a static ML-KEM-1024 key and observing the output. A proof of concept demonstrated private key recovery with approximately 98% success using roughly 350 chosen ciphertexts.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use of a Broken Cryptographic Algorithm
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Wolfssl