Home / CVE-2024-29857
CVE-2024-29857: is it exploited, and which versions of org.bouncycastle:bcprov-jdk18on are affected and fixed?
CVE-2024-29857 is an out-of-bounds read vulnerability in org.bouncycastle:bcprov-jdk18on. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: org.bouncycastle:bcprov-jdk18on before 1.78, org.bouncycastle:bcprov-jdk15on before 1.78, org.bouncycastle:bcprov-jdk15to18 before 1.78 and 7 more (GitHub advisory GHSA-8xfc-gm6g-vgpv). Fixed in 1.78, 1.0.2.5 and 2.3.1 (GitHub advisory GHSA-8xfc-gm6g-vgpv). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-29857?
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.
From the CVE record by mitre, last updated February 13, 2025, 15:47 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk18on | < 1.78 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bcprov-jdk15on | < 1.78 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.78 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bcprov-jdk14 | < 1.78 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bctls-jdk18on | < 1.78 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bctls-jdk14 | < 1.78 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bctls-jdk15to18 | < 1.78 | 1.78 | GHSA-8xfc-gm6g-vgpv |
| Maven | org.bouncycastle:bc-fips | < 1.0.2.5 | 1.0.2.5 | GHSA-8xfc-gm6g-vgpv |
| NuGet | BouncyCastle | >= 0 | none listed | GHSA-8xfc-gm6g-vgpv |
| NuGet | BouncyCastle.Cryptography | < 2.3.1 | 2.3.1 | GHSA-8xfc-gm6g-vgpv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 6, 2024. Summary: Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation..
How severe is CVE-2024-29857?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-29857 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 13, 2024)
- EPSS
- 1.10% probability of exploitation activity in the next 30 days, percentile 66.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://www.bouncycastle.org/latest_releases.html
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857
- https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857
- https://security.netapp.com/advisory/ntap-20241206-0008/
When was it published, and where is the official record?
- Reserved
- March 21, 2024
- Published
- May 9, 2024, 04:17 UTC
- CVE record updated
- February 13, 2025, 15:47 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 07:23 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on May 9, 2024?
- May 9, 2024CVE-2024-4671 Google Chrome: use after free exploited
- May 9, 2024CVE-2024-0098 nvidia ChatRTX: sensitive data sent in clear text
- May 9, 2024CVE-2024-0097 nvidia ChatRTX: privilege escalation (improper privilege management)
- May 9, 2024CVE-2024-0096 nvidia ChatRTX: privilege escalation (improper privilege management)
- May 9, 2024CVE-2024-0100 NVIDIA Triton Inference Server: external Control of File Name or Path
- May 9, 2024CVE-2024-0088 NVIDIA Triton Inference Server: memory corruption (buffer overflow)
- May 9, 2024CVE-2024-0087 NVIDIA Triton Inference Server: external Control of File Name or Path
- May 9, 2024CVE-2024-4688 Campcodes Complete Web-Based School Management System: cross-site scripting (XSS)
Every CVE published on May 9, 2024
Questions about CVE-2024-29857
Is CVE-2024-29857 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.10% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of org.bouncycastle:bcprov-jdk18on are affected by CVE-2024-29857?
org.bouncycastle:bcprov-jdk18on before 1.78, org.bouncycastle:bcprov-jdk15on before 1.78, org.bouncycastle:bcprov-jdk15to18 before 1.78, org.bouncycastle:bcprov-jdk14 before 1.78, org.bouncycastle:bctls-jdk18on before 1.78, org.bouncycastle:bctls-jdk14 before 1.78 and 4 more, per the GitHub advisory GHSA-8xfc-gm6g-vgpv. The tables above give every range the sources list.
Which version fixes CVE-2024-29857?
1.78, 1.0.2.5 and 2.3.1, per the GitHub advisory GHSA-8xfc-gm6g-vgpv. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-29857?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-29857?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.