WaratekVRT Sign in

CVE-2024-29857

Severity7.5 High CVSS 3.1
Fixed in1.78
WeaknessOut-of-bounds read (CWE-125)
Published14 May 2024
Updated17 Jun 2026

Description

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.

CWE-400 · Uncontrolled resource consumption

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.1% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: bcgit/bc-csharp 56daa6e.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://access.redhat.com/security/cve/CVE-2024-29857 : a Red Hat CVE page: the weakest kind, naming no commit, though it shows Red Hat has looked at the CVE

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2026 ↗ CPU 2026-Q2 Oracle Fusion Middleware / B2B Engine (Bouncy Castle Java Library) (12.2.1.4.0)
Oracle Critical Patch Update April 2025 ↗ CPU 2025-Q2 Oracle Fusion Middleware / Adapters (Bouncy Castle Java Library) (12.2.1.4.0, 14.1.2.0.0)
Oracle Critical Patch Update January 2025 ↗ CPU 2025-Q1 Oracle Enterprise Manager / Agent Next Gen (Bouncy Castle Java Library) (13.5.0.0)
Oracle Fusion Middleware / Centralized Thirdparty Jars (Bouncy Castle Java Library) (12.2.1.4.0, 14.1.1.0.0)
Oracle Critical Patch Update October 2024 ↗ CPU 2024-Q4 Oracle Communications / Discovery Microservice (Bouncy Castle Java Library) (23.4.4, 24.2.1)
Oracle Critical Patch Update July 2024 ↗ CPU 2024-Q3 Oracle Fusion Middleware / NextGen Installer (Bouncy Castle Java Library) (12.2.1.4.0)
Oracle Utilities Applications / General (Bouncy Castle Java Library) (4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0, 4.5.0.0.0, 4.5.0.1.1-4.5.0.1.3, 24.1.0.0.0, 24.2.0.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Discovery Microservice (Bouncy Castle Java Library) 23.4.4, 24.2.1 23.4.4 · 24.2.1
Oracle Enterprise Manager Agent Next Gen (Bouncy Castle Java Library) 13.5.0.0 13.5.0.0
Oracle Fusion Middleware Adapters (Bouncy Castle Java Library) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0
Oracle Fusion Middleware B2B Engine (Bouncy Castle Java Library) 12.2.1.4.0 12.2.1.4.0
Oracle Fusion Middleware Centralized Thirdparty Jars (Bouncy Castle Java Library) 12.2.1.4.0, 14.1.1.0.0 12.2.1.4.0 · 14.1.1.0.0
Oracle Fusion Middleware NextGen Installer (Bouncy Castle Java Library) 12.2.1.4.0 12.2.1.4.0
Oracle Utilities Applications General (Bouncy Castle Java Library) 4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0, 4.5.0.0.0, 4.5.0.1.1-4.5.0.1.3, 24.1.0.0.0, 24.2.0.0.0 4.3.0.6.0 · 4.4.0.0.0 · 4.4.0.2.0 · 4.4.0.3.0 · 4.5.0.0.0 · 24.1.0.0.0 · 24.2.0.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.bouncycastle:bcprov-jdk18on 0 1.78 unbounded
org.bouncycastle:bcprov-jdk15on 0 1.78 unbounded
org.bouncycastle:bcprov-jdk15to18 0 1.78 unbounded
org.bouncycastle:bcprov-jdk14 0 1.78 unbounded
org.bouncycastle:bctls-jdk18on 0 1.78 unbounded
org.bouncycastle:bctls-jdk14 0 1.78 unbounded
org.bouncycastle:bctls-jdk15to18 0 1.78 unbounded
org.bouncycastle:bc-fips 0 1.0.2.5 unbounded

Products and versions

8 products, 8 version entries
SourceVendorProductSchemeAffected versions
osv org.bouncycastle bc-fips generic < 1.0.2.5
osv org.bouncycastle bcprov-jdk14 generic < 1.78
osv org.bouncycastle bcprov-jdk15on generic < 1.78
osv org.bouncycastle bcprov-jdk15to18 generic < 1.78
osv org.bouncycastle bcprov-jdk18on generic < 1.78
osv org.bouncycastle bctls-jdk14 generic < 1.78
osv org.bouncycastle bctls-jdk15to18 generic < 1.78
osv org.bouncycastle bctls-jdk18on generic < 1.78

References

URLTags
https://access.redhat.com/security/cve/CVE-2024-29857 redhat-cve
https://access.redhat.com/errata/RHSA-2024:5479 ADVISORY, RHSA-2024:5479
https://access.redhat.com/errata/RHSA-2024:5481 ADVISORY, RHSA-2024:5481
https://github.com/bcgit/bc-csharp/commit/56daa6eac526f165416d17f661422d60de0dfd63 WEB
https://github.com/bcgit/bc-java/commit/efc498ca4caa340ac2fe11f2efee06c1a294501f WEB
https://github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281 WEB
https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857 WEB
https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857 WEB
https://security.netapp.com/advisory/ntap-20241206-0008 WEB
https://www.bouncycastle.org/latest_releases.html WEB

Timeline

Published2024-05-14By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.