cve.bz

CVE-2024-14041 bouncycastle bc-java: Observable Timing Discrepancy

8.2 highExploit referenceEPSS 0.5%Fix available

High (8.2) in bouncycastle bc-java. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.2 high
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/U:Amber

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-208 Observable Timing Discrepancy
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-14041 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-14041?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-14041?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-14041 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Legion of the Bouncy Castle Inc. BC-JAVAfrom 1.73 before 1.78

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bouncycastleno fix listedDEBIAN-CVE-2024-14041
Debian13, 14bouncycastle1.80-1DEBIAN-CVE-2024-14041
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 2 morebouncycastleno fix listedUBUNTU-CVE-2024-14041

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Cryostat 4bcprov-jdk18onNot affected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Not affected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Not affected
Red Hat AMQ Broker 7bcprov-jdk18onNot affected
Red Hat AMQ Clientsbcprov-jdk15onNot affected
Red Hat AMQ Clientsbcprov-jdk18onNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/de-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/de-supported-rhel9Not affected
Red Hat build of Apache Camel 4 for Quarkus 3bcprov-jdk18onNot affected
Red Hat build of Apache Camel for Spring Boot 4bcprov-jdk18onNot affected
Red Hat build of Apicurio Registry 3bcprov-jdk18onNot affected
Red Hat build of Apicurio Registry 3bcprov-lts8onNot affected
Red Hat Build of Keycloakbcprov-jdk18onNot affected
Red Hat Build of Keycloakrhbk-openshift-rhel9/rhbk-openshift-rhel9Not affected
Red Hat build of Quarkusbcprov-jdk18onNot affected
Red Hat Enterprise Linux 8pki-core:10.6/resteasyNot affected
Red Hat Enterprise Linux 8pki-deps:10.6/resteasyNot affected
Red Hat Enterprise Linux 9resteasyNot affected
Red Hat JBoss Enterprise Application Platform 7bcprov-jdk15onNot affected
Red Hat JBoss Enterprise Application Platform 7bcprov-jdk18onNot affected
27 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-14041.

Attack patterns (CAPEC)

  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-541 Application Fingerprinting Severity: Low
  • CAPEC-580 System Footprinting Likelihood: Low · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON