# CVE-2024-14041: ML-KEM (Kyber) decapsulation leaks private key information through non-constant-time division in message decoding and ciphertext compression (KyberSlash)

- Severity: High 8.2 (CVSS:4.0, scored by bcorg) `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`
- 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.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-28T08:05:35.310Z
- Modified: 2026-10-02T00:10:00.180Z
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: bcorg

## Description

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.

(As written by CVE List.)

## Affected

- bcprov: from 1.73 before 1.78
- bouncycastle bc-java: from 1.73 before 1.78

## Every score

- bcorg: CVSS:4.0 8.2 High `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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://kyberslash.cr.yp.to/> (exploit, technical-description)
- <https://github.com/bcgit/bc-java/wiki/CVE-2024-14041> (vendor-advisory)
- <https://github.com/bcgit/bc-java/commit/5adb2c5c5b462a332b01a012bea0784b40b904e5> (patch)
- <https://github.com/bcgit/bc-java/commit/1590247178f2280defa36421475f015175dfbe9e> (patch)

## Sources

- CVE List: [CVE-2024-14041](https://www.cve.org/CVERecord?id=CVE-2024-14041), CVE Terms of Use, modified 2026-08-09
- NVD: [CVE-2024-14041](https://nvd.nist.gov/vuln/detail/CVE-2024-14041), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2024-14041 · Whole record: https://cve.day/CVE-2024-14041.json · Rebuilt by cve.day 2026-11-25T22:58:53.057Z
