CVE-2024-29857
HIGH 7.5CVSS 3.1Bouncy 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.
- Published
- 14 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-125CWE-400
- Also known as
- GHSA-8xfc-gm6g-vgpv
- Sources
- NVDJSONOSV GHSA-8xfc-gm6g-vgpvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.bouncycastle:bcprov-jdk18on | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15on | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk14 | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk18on | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk14 | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk15to18 | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bc-fips | < 1.0.2.5 | 1.0.2.5 |
| OSV | NuGet | BouncyCastle | all versions | |
| OSV | NuGet | BouncyCastle.Cryptography | < 2.3.1 | 2.3.1 |
References
- 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://www.bouncycastle.org/latest_releases.html · WEB
- https://security.netapp.com/advisory/ntap-20241206-0008/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-29857 · ADVISORY
- 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
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2024)