SecurityContext

CVE-2024-14041: Bouncy Castle - Information Disclosure

  • Cve: CVE-2024-14041
  • Name: Bouncy Castle - Information Disclosure
  • 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.
  • Impact: Attackers can recover long-term private keys by analyzing timing of decapsulations, compromising key confidentiality.
  • Remediation: Update to version 1.78 or later.
  • Vulnerability type: side_channel
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00459
  • Epss percentile: 0.40307
  • Assignee: 91579145-5d7b-4cc5-b925-a0262ff19630
  • Published at: 2026-07-28T08:17:12Z
  • Age in days: 119
  • Modified at: 2026-10-02T00:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-14041
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-208Observable Timing Discrepancy

Public exploits

UrlSourceAdded date
https://kyberslash.cr.yp.to/nvd2026-07-28

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/bcgit/bc-java/commit/1590247178f2280defa36421475f015175dfbe9ePatch
https://github.com/bcgit/bc-java/commit/5adb2c5c5b462a332b01a012bea0784b40b904e5Patch
https://github.com/bcgit/bc-java/wiki/CVE-2024-14041Vendor Advisory
https://kyberslash.cr.yp.to/Exploit

Products

ProductAffectedPlatform boundSourcesUrl
bouncycastle:bc-java>= 1.73, < 1.78nonvd/v1/products/bouncycastle/bc-java

Projects

RepositoryLink kindsIndexedUrl
bcgit/bc-javacommit, fixyes/v1/repositories/bcgit/bc-java

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-07-28
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts