Timing Attack Affecting org.bouncycastle:bcprov-debug-jdk14 package, versions [1.73,1.78)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGBOUNCYCASTLE-18390227
  • published29 Jul 2026
  • disclosed28 Jul 2026
  • creditUnknown

Introduced: 28 Jul 2026

NewCVE-2024-14041  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade org.bouncycastle:bcprov-debug-jdk14 to version 1.78 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack in the ML-KEM Poly.toMsg, Poly.compressPoly, and PolyVec.compressPolyVec routines. An attacker can recover a long-term private key by sending ciphertexts and measuring the time taken by repeated decapsulation operations that execute secret-dependent divisions by the Kyber modulus q on secret-derived polynomial coefficients. The flaw affects Kyber decapsulation and ciphertext compression code in org.bouncycastle.pqc.crypto.crystals.kyber, where the coefficient-to-message and coefficient-compression logic leaks information through variable-time arithmetic. This compromises private-key confidentiality in deployments that process many decapsulations using the same key.

CVSS Base Scores

version 4.0
version 3.1