Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-14041
Published:July 28, 2026
Updated:August 06, 2026
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.
Affected Packages
https://github.com/bcgit/bc-java.git (GITHUB):
Affected version(s) >=r1rv73 <r1rv78
Fix Suggestion:
Update to version r1rv78
org.bouncycastle:bcprov-debug-jdk18on (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-jdk18on (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-debug-jdk15to18 (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-ext-jdk15to18 (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-debug-jdk14 (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-jdk14 (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-ext-jdk14 (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-jdk15to18 (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
org.bouncycastle:bcprov-ext-jdk18on (JAVA):
Affected version(s) >=1.73 <1.78
Fix Suggestion:
Update to version 1.78
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Observable Timing Discrepancy
EPSS
Base Score:
0.27