cve.bz

CVE-2024-29857 Out-of-bounds Read

7.5 highEPSS 1.1%Fix available

High (7.5). EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcprov-jdk18on 1.78.

On this page
An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. 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 2024-05-13. 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-125 Out-of-bounds Read
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.bouncycastle:bcprov-jdk18on (Maven): fixed in 1.78
  • org.bouncycastle:bcprov-jdk15on (Maven): fixed in 1.78
  • org.bouncycastle:bcprov-jdk15to18 (Maven): fixed in 1.78
  • org.bouncycastle:bcprov-jdk14 (Maven): fixed in 1.78
  • org.bouncycastle:bctls-jdk18on (Maven): fixed in 1.78
  • org.bouncycastle:bctls-jdk14 (Maven): fixed in 1.78
  • org.bouncycastle:bctls-jdk15to18 (Maven): fixed in 1.78
  • org.bouncycastle:bc-fips (Maven): fixed in 1.0.2.5
  • Debian, Ubuntu, Red Hat, openSUSE: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-29857 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-29857?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-29857?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-29857 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.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bcprov-jdk18on<1.781.78
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bcprov-jdk15on<1.781.78
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bcprov-jdk15to18<1.781.78
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bcprov-jdk14<1.781.78
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bctls-jdk18on<1.781.78
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bctls-jdk14<1.781.78
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bctls-jdk15to18<1.781.78
GHSA-8xfc-gm6g-vgpvMavenorg.bouncycastle:bc-fips<1.0.2.51.0.2.5
GHSA-8xfc-gm6g-vgpvNuGetBouncyCastleall versionsno fix published
GHSA-8xfc-gm6g-vgpvNuGetBouncyCastle.Cryptography<2.3.12.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bouncycastleno fix listedDEBIAN-CVE-2024-29857
Debian13, 14bouncycastle1.80-1DEBIAN-CVE-2024-29857
UbuntuPro:16.04:LTSbouncycastleno fix listedUBUNTU-CVE-2024-29857
UbuntuPro:18.04:LTSbouncycastle1.59-1ubuntu0.1~esm1UBUNTU-CVE-2024-29857
UbuntuPro:20.04:LTSbouncycastle1.61-1ubuntu0.1~esm1UBUNTU-CVE-2024-29857
UbuntuPro:22.04:LTSbouncycastle1.68-5ubuntu0.1~esm1UBUNTU-CVE-2024-29857
UbuntuPro:24.04:LTSbouncycastle1.77-1ubuntu0.1~esm1UBUNTU-CVE-2024-29857
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-bouncycastle, eap7-bouncycastle-pg, eap7-bouncycastle-mail and 3 more0:1.78.1-1.redhat_00002.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.23-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.17-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jandex0:2.4.5-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-remoting0:5.0.29-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-37.Final_redhat_00037.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-xnio-base0:3.8.16-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-log4j-jboss-logmanager0:1.3.1-1.Final_redhat_00002.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty, eap7-netty-all, eap7-netty-codec and 27 more0:4.1.108-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-netty-xnio-transport0:0.1.10-1.Final_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-undertow0:2.2.33-1.SP1_redhat_00001.1.el7eapRHSA-2024:5143
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.18-1.GA_redhat_00001.1.el7eapRHSA-2024:5143
132 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedbouncycastle1.78.1-1.1openSUSE-SU-2024:13914-1
openSUSETumbleweeditextpdf5.5.13.4-1.1openSUSE-SU-2025:15739-1

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate-impact issue in Red Hat products that include the affected Bouncy Castle component: an attacker who causes an EC certificate with crafted F2m parameters to be imported can trigger excessive CPU consumption while curve parameters are evaluated, resulting in denial of service. Red Hat rates this CVSS 6.5 (AV:N/AC:L/PR:N/UI:R/A:H), while CISA rates it 7.5 because its vector assumes no user interaction. The current record marks 13 of 14 product affects as affected or delegated, including Red Hat Build of Quarkus, Cryostat, Red Hat build of Apache Camel, Red Hat AMQ, Red Hat Build of Keycloak, and Enterprise Application Platform. For delegated AFFECTED records, product fixes are being pursued; some delegated records are WONTFIX. Red Hat JBoss Fuse is marked NOTAFFECTED, and Cryostat and JBoss Data Grid have delegated NOTAFFECTED determinations; no further product-specific rationale is recorded.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7org.bouncycastle:bcprov-jdk18onFixed 2024-07-02RHSA-2024:4271
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2org.bouncycastle:bcprov-jdk18onFixed 2024-07-25RHSA-2024:4884
Red Hat Build of Apache Camel 4.4 for Quarkus 3.8org.bouncycastle:bcprov-jdk18onFixed 2024-07-11RHSA-2024:4505
Red Hat build of Quarkus 3.8.5.redhatorg.bouncycastle/bcprov-jdk18on:1.78.1.redhat-00002Fixed 2024-07-08RHSA-2024:4326
Red Hat JBoss Enterprise Application Platformorg.bouncycastle/bcprov-jdk18on:1.78.1.redhat-00002Fixed 2024-08-08RHSA-2024:5147
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-bouncycastle-0:1.78.1-1.redhat_00002.1.el8eapFixed 2024-08-08RHSA-2024:5144
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-bouncycastle-0:1.78.1-1.redhat_00002.1.el9eapFixed 2024-08-08RHSA-2024:5145
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-bouncycastle-0:1.78.1-1.redhat_00002.1.el7eapFixed 2024-08-08RHSA-2024:5143
Red Hat JBoss Enterprise Application Platform 8org.bouncycastle:bcprov-jdk18onFixed 2024-08-15RHSA-2024:5482
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-bouncycastle-0:1.78.1-1.redhat_00001.1.el8eapFixed 2024-08-15RHSA-2024:5479
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-activemq-artemis-0:2.21.0-5.redhat_00052.1.el9eapFixed 2024-08-15RHSA-2024:5481
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-angus-0:2.0.3-1.redhat_00001.1.el9eapFixed 2024-08-15RHSA-2024:5481
Cryostat 2org.bouncycastle:bcprov-jdk18onNot affected
Red Hat build of Apache Camel 4 for Quarkus 3org.bouncycastle:bcprov-jdk18onAffected
Red Hat build of Apache Camel for Spring Boot 3org.bouncycastle:bcprov-jdk18onWill not fix
Red Hat Build of Keycloakorg.bouncycastle:bcprov-jdk18onAffected
Red Hat Data Grid 8org.bouncycastle:bcprov-jdk18onNot affected
Red Hat Fuse 7org.bouncycastle:bcprov-jdk18onNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packorg.bouncycastle:bcprov-jdk18onAffected
streams for Apache Kafkaorg.bouncycastle:bcprov-jdk18onWill not fix
54 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-29857.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-071-03Siemens SIDIS Prime2026-03-10Critical ManufacturingSIDIS Primenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

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

References

Check your stackJSON