CVE-2024-14041Bouncycastle Bc-java
High 8.2 No auth needed
Follow: this CVE · Bouncycastle · Bouncycastle Bc-java We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 32
- Auth required
- No
- Published
- Jul 28, 2026
- Updated
- Oct 2, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-208
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/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:Amber
What happens
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.
What to do
- Apply the vendor's security update for Bc-java.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bouncycastle | bc-java | ≥ 1.73 < 1.78 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- kyberslash.cr.yp.to Exploit