CVE-2024-29857
| Severity | 7.5 High CVSS 3.1 |
|---|---|
| Fixed in | 1.78 |
| Weakness | Out-of-bounds read (CWE-125) |
| Published | 14 May 2024 |
| Updated | 17 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.
Exploitation status
- 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
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
| Advisory | Type | Quarter | Products 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
| Family | Component | Versions, as Oracle lists them | Read 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| Package | Introduced | Fixed | Last 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| Source | Vendor | Product | Scheme | Affected 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
Timeline
Timeline
| Published | 2024-05-14 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |