{"cve":"CVE-2024-29857","nvd":{"published":"2024-05-14T15:17:02.970","modified":"2026-06-17T07:23:14.787","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-125"],"references":["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://www.bouncycastle.org/latest_releases.html","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"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:49:23.840078609+00:00"},"epss":{"cve":"CVE-2024-29857","score":0.011,"percentile":0.65683,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8xfc-gm6g-vgpv","url":"https://osv.dev/vulnerability/GHSA-8xfc-gm6g-vgpv","summary":"Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.","modified":"2026-09-10T03:49:19.252779119Z","packages":[{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","ranges":["<1.78"],"fixed":["1.78"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","ranges":["<1.78"],"fixed":["1.78"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","ranges":["<1.78"],"fixed":["1.78"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","ranges":["<1.78"],"fixed":["1.78"]},{"ecosystem":"Maven","name":"org.bouncycastle:bctls-jdk18on","purl":"pkg:maven/org.bouncycastle/bctls-jdk18on","ranges":["<1.78"],"fixed":["1.78"]},{"ecosystem":"Maven","name":"org.bouncycastle:bctls-jdk14","purl":"pkg:maven/org.bouncycastle/bctls-jdk14","ranges":["<1.78"],"fixed":["1.78"]},{"ecosystem":"Maven","name":"org.bouncycastle:bctls-jdk15to18","purl":"pkg:maven/org.bouncycastle/bctls-jdk15to18","ranges":["<1.78"],"fixed":["1.78"]},{"ecosystem":"Maven","name":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","ranges":["<1.0.2.5"],"fixed":["1.0.2.5"]},{"ecosystem":"NuGet","name":"BouncyCastle","purl":"pkg:nuget/BouncyCastle","ranges":["all versions"],"fixed":[]},{"ecosystem":"NuGet","name":"BouncyCastle.Cryptography","purl":"pkg:nuget/BouncyCastle.Cryptography","ranges":["<2.3.1"],"fixed":["2.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}