{"id":"CVE-2024-14041","aliases":["CVE-2024-14041"],"related":[],"kind":"vulnerability","state":"published","title":"ML-KEM (Kyber) decapsulation leaks private key information through non-constant-time division in message decoding and ciphertext compression (KyberSlash)","summary":"In Bouncy Castle for Java from 1.73 to before 1.78, three ML-KEM (CRYSTALS-Kyber) routines divided secret-derived polynomial coefficients by the modulus q: Poly.toMsg, which decodes the decrypted message, and the ciphertext compression routines Poly.compressPoly and PolyVec.compressPolyVec. An attacker able to measure the timing of a large number of decapsulations performed with the same long-term private key can recover that key. These are the KyberSlash1 (Poly.toMsg) and KyberSlash2 (ciphertext compression) divisions. Compression performed during encapsulation operates on values that become the public ciphertext and is not affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Bouncy Castle for Java from 1.73 to before 1.78, three ML-KEM (CRYSTALS-Kyber) routines divided secret-derived polynomial coefficients by the modulus q: Poly.toMsg, which decodes the decrypted message, and the ciphertext compression routines Poly.compressPoly and PolyVec.compressPolyVec. An attacker able to measure the timing of a large number of decapsulations performed with the same long-term private key can recover that key. These are the KyberSlash1 (Poly.toMsg) and KyberSlash2 (ciphertext compression) divisions. Compression performed during encapsulation operates on values that become the public ciphertext and is not affected.","source":"cvelist"},{"lang":"es","text":"En Bouncy Castle para Java desde 1.73 hasta antes de 1.78, tres rutinas ML-KEM (CRYSTALS-Kyber) dividían los coeficientes polinómicos derivados del secreto por el módulo q: Poly.toMsg, que decodifica el mensaje descifrado, y las rutinas de compresión de texto cifrado Poly.compressPoly y PolyVec.compressPolyVec. Un atacante capaz de medir el tiempo de un gran número de desencapsulaciones realizadas con la misma clave privada a largo plazo puede recuperar esa clave. Estas son las divisiones KyberSlash1 (Poly.toMsg) y KyberSlash2 (compresión de texto cifrado). La compresión realizada durante la encapsulación opera sobre valores que se convierten en el texto cifrado público y no se ve afectada.","source":"nvd"}],"published":"2026-07-28T08:05:35.310Z","modified":"2026-10-02T00:10:00.180Z","severity":{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"type":"maven","introduced":"1.73","fixed":"1.78","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","package":"bcprov","repo":"https://github.com/bcgit/bc-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.73","fixed":"1.78"}],"vendor":"bouncycastle","product":"bc-java","cpe":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE-2024-14041","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-java/commit/5adb2c5c5b462a332b01a012bea0784b40b904e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-java/commit/1590247178f2280defa36421475f015175dfbe9e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://kyberslash.cr.yp.to/","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]}],"credits":["The Robusta team: Deepak Bhargavan Pillai, Anirban Chakraborty, Chitchanok Chuengsatiansup, Matthew Roughan, Peter Schwabe, and Yuval Yarom","The KyberSlash authors: Daniel J. Bernstein, Karthikeyan Bhargavan, Shivam Bhasin, Anupam Chattopadhyay, Tee Kiah Chia, Matthias J. Kannwischer, Franziskus Kiefer, Thales Paiva, Prasanna Ravi and Goutam Tamvada."],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-28T12:54:52.417Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-14041","url":"https://www.cve.org/CVERecord?id=CVE-2024-14041","licence":"CVE Terms of Use","modified":"2026-08-09T20:56:37.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-14041","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-14041","licence":"Public domain","modified":"2026-10-02T00:10:00.180Z"}],"updatedAt":"2026-11-25T22:58:53.057Z","epss":{"score":0.00285,"percentile":0.22554,"date":"2026-12-01T12:00:22.000Z"}}