Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.bouncycastle:bc-fips | < 1.0.2.5 | 1.0.2.5 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk14 | < 1.78 | 1.78 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15on | < 1.78 | 1.78 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15to18 | < 1.78 | 1.78 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk18on | < 1.78 | 1.78 |
| Java / Kotlin (Maven) | org.bouncycastle:bctls-jdk14 | < 1.78 | 1.78 |
| Java / Kotlin (Maven) | org.bouncycastle:bctls-jdk15to18 | < 1.78 | 1.78 |
| Java / Kotlin (Maven) | org.bouncycastle:bctls-jdk18on | < 1.78 | 1.78 |
| .NET (NuGet) | BouncyCastle | all versions | no fix |
| .NET (NuGet) | BouncyCastle.Cryptography | < 2.3.1 | 2.3.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29857
- https://github.com/bcgit/bc-csharp/commit/56daa6eac526f165416d17f661422d60de0dfd63
- https://github.com/bcgit/bc-java/commit/efc498ca4caa340ac2fe11f2efee06c1a294501f
- https://github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281
- https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857
- https://security.netapp.com/advisory/ntap-20241206-0008
- https://www.bouncycastle.org/latest_releases.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-125, CWE-400- Platform
- Java / Kotlin (Maven), .NET (NuGet)
- Package
org.bouncycastle:bc-fips, org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15on- Disclosed
- 14.05.2024
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8xfc-gm6g-vgpv - CC BY 4.0
Vulnerability history: org.bouncycastle:bcprov-jdk14
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 26
- First → latest
- 10.2018 04.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 10
- Medium 14
- Low 1
Disclosures per year
- 2018: 12
- 2019: 1
- 2020: 0
- 2021: 3
- 2022: 0
- 2023: 2
- 2024: 4
- 2025: 1
- 2026: 3
-
Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation. this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.