# CVE-2024-29857: Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Published: 2024-05-09T04:17:29.645Z
- Modified: 2026-09-10T03:49:19.252Z
- Also known as: GHSA-8xfc-gm6g-vgpv
- Weaknesses: CWE-125, CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- bouncycastle bc-java: up to 1.77
- bouncycastle bc-fja: up to 1.0.2.4
- bouncycastle bc_c_.net: up to 2.3.0
- org.bouncycastle:bcprov-jdk18on (Maven): before 1.78
- org.bouncycastle:bcprov-jdk15on (Maven): before 1.78
- org.bouncycastle:bcprov-jdk15to18 (Maven): before 1.78
- org.bouncycastle:bcprov-jdk14 (Maven): before 1.78
- org.bouncycastle:bctls-jdk18on (Maven): before 1.78
- org.bouncycastle:bctls-jdk14 (Maven): before 1.78
- org.bouncycastle:bctls-jdk15to18 (Maven): before 1.78
- org.bouncycastle:bc-fips (Maven): before 1.0.2.5
- BouncyCastle (NuGet): all versions
- BouncyCastle.Cryptography (NuGet): before 2.3.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://www.bouncycastle.org/latest_releases.html> (web)
- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857> (web)
- <https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857> (web)
- <https://security.netapp.com/advisory/ntap-20241206-0008/>
- <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)
- <https://security.netapp.com/advisory/ntap-20241206-0008> (web)

## Sources

- CVE List: [CVE-2024-29857](https://www.cve.org/CVERecord?id=CVE-2024-29857), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-8xfc-gm6g-vgpv](https://github.com/advisories/GHSA-8xfc-gm6g-vgpv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-29857](https://nvd.nist.gov/vuln/detail/CVE-2024-29857), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-29857 · Whole record: https://cve.day/CVE-2024-29857.json · Rebuilt by cve.day 2026-11-25T22:58:40.129Z
