{"id":"CVE-2024-29857","aliases":["CVE-2024-29857","GHSA-8xfc-gm6g-vgpv"],"related":[],"kind":"vulnerability","state":"published","title":"Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en ECCurve.java y ECCurve.cs en Bouncy Castle Java (BC Java) antes de 1.78, BC Java LTS antes de 2.73.6, BC-FJA antes de 1.0.2.5 y BC C# .Net antes de 2.3.1. La importación de un certificado CE con parámetros F2m modificados puede provocar un consumo excesivo de CPU durante la evaluación de los parámetros de la curva.","source":"nvd"}],"published":"2024-05-09T04:17:29.645Z","modified":"2026-09-10T03:49:19.252Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-125","CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.77","status":"affected"}],"vendor":"bouncycastle","product":"bc-java","cpe":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.0.2.4","status":"affected"}],"vendor":"bouncycastle","product":"bc-fja","cpe":"cpe:2.3:a:bouncycastle:bc-fja:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2.3.0","status":"affected"}],"vendor":"bouncycastle","product":"bc_c_.net","cpe":"cpe:2.3:a:bouncycastle:bc_c_.net:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.78"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.78"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.78"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.78"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.78"}],"ecosystem":"Maven","package":"org.bouncycastle:bctls-jdk18on","purl":"pkg:maven/org.bouncycastle/bctls-jdk18on","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.78"}],"ecosystem":"Maven","package":"org.bouncycastle:bctls-jdk14","purl":"pkg:maven/org.bouncycastle/bctls-jdk14","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.78"}],"ecosystem":"Maven","package":"org.bouncycastle:bctls-jdk15to18","purl":"pkg:maven/org.bouncycastle/bctls-jdk15to18","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.2.5"}],"ecosystem":"Maven","package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected"}],"ecosystem":"NuGet","package":"BouncyCastle","purl":"pkg:nuget/BouncyCastle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.1"}],"ecosystem":"NuGet","package":"BouncyCastle.Cryptography","purl":"pkg:nuget/BouncyCastle.Cryptography","source":"ghsa"}],"references":[{"url":"https://www.bouncycastle.org/latest_releases.html","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20241206-0008/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29857","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-csharp/commit/56daa6eac526f165416d17f661422d60de0dfd63","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/commit/efc498ca4caa340ac2fe11f2efee06c1a294501f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20241206-0008","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-13T19:32:50.624Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-29857","url":"https://www.cve.org/CVERecord?id=CVE-2024-29857","licence":"CVE Terms of Use","modified":"2025-02-13T15:47:48.325Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8xfc-gm6g-vgpv","url":"https://github.com/advisories/GHSA-8xfc-gm6g-vgpv","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:19.252Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-29857","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29857","licence":"Public domain","modified":"2026-06-17T07:23:14.787Z"}],"updatedAt":"2026-11-25T22:58:40.129Z","epss":{"score":0.011,"percentile":0.66601,"date":"2026-12-01T12:00:22.000Z"}}