Intel

AIKIDO-2026-805345

bcprov-jdk18on is vulnerable to Timing Attacks

CVE-2024-14041Published Jul 28, 2026
July 28, 2026

82

CVE Score

High

Timing Attacks

Are you affected? Scan for Free

TL;DR

Poly.toMsg, Poly.compressPoly, and PolyVec.compressPolyVec in the ML-KEM (CRYSTALS-Kyber) implementation divide secret-derived polynomial coefficients by the modulus q in non-constant time. An attacker who can measure the timing of many decapsulations that reuse the same long-term private key can recover that key (KyberSlash1 and KyberSlash2). Encapsulation compression that only touches public ciphertext values is not affected. The fix replaces those divisions with constant-time equivalents.

How do I fix this?

Upgrade the org.bouncycastle:bcprov-jdk18on library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application performs ML-KEM/Kyber decapsulation with a long-lived private key where an attacker can observe timing.

Versions

1.73 - 1.77

Fixed in 1.78

Background info

bcprov-jdk18on is vulnerable to Timing Attacks in versions 1.73 - 1.77.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea