CVE-2024-14041
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.
Weakness
- CWE-208: Observable Timing Discrepancy
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-28 |
Timeline
- 2026-07-28Published by the CNA08:05 UTC
- 2026-07-28CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| bouncycastle bc-java | from 1.73 before 1.78fixed in 1.78 | 1.78 |
References
- https://github.com/bcgit/bc-java/commit/1590247178f2280defa36421475f015175dfbe9e
- https://github.com/bcgit/bc-java/commit/5adb2c5c5b462a332b01a012bea0784b40b904e5
- https://github.com/bcgit/bc-java/wiki/CVE-2024-14041
- https://kyberslash.cr.yp.to/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-14041'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-14041'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-14041'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-14041'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).