CVE-2024-14041
bouncycastle: Bouncy Castle for Java: Private key recovery via timing side-channel in ML-KEM (CRYSTALS-Kyber) routines
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 28, 2026
Updated · August 27, 2026
Description
A flaw was found in Bouncy Castle for Java, affecting ML-KEM (CRYSTALS-Kyber) routines. Specifically, the Poly.toMsg, Poly.compressPoly, and PolyVec.compressPolyVec routines, which handle secret-derived polynomial coefficients, perform division by the modulus q. A remote attacker can exploit this timing side-channel vulnerability by measuring the time taken for a large number of decapsulations using the same long-term private key. Successful exploitation allows the attacker to recover the long-term private key, leading to a significant compromise of cryptographic security.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-208 · Observable Timing Discrepancy