{"id":"CVE-2024-30172","aliases":["CVE-2024-30172","GHSA-m44j-cfrm-g8qc"],"related":[],"kind":"vulnerability","state":"published","title":"Bouncy Castle crafted signature and public key can be used to trigger an infinite loop","summary":"An issue was discovered in Bouncy Castle Java Cryptography APIs before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in Bouncy Castle Java Cryptography APIs before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in Bouncy Castle Java Cryptography APIs starting in 1.73 and before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se descubrió un problema en las API de criptografía Java de Bouncy Castle anteriores a la versión 1.78. Se puede producir un bucle infinito del código de verificación Ed25519 mediante una firma manipulada y una clave pública.","source":"nvd"}],"published":"2024-05-09T00:00:00.000Z","modified":"2026-09-10T03:50:14.435Z","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"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.78","status":"affected"}],"vendor":"bouncycastle","product":"legion-of-the-bouncy-castle-java-crytography-api","cpe":"cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle-java-crytography-api:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.73","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":"1.73","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":"1.73","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":"1.73","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":"1.73","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":"1.73","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"}],"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://security.netapp.com/advisory/ntap-20240614-0007/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30172","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/commit/1b9fd9b545e691bfb3941a9f6a797660c8860f02","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/commit/9c165791b68a204678b48ec11e4e579754c2ea49","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/commit/ebe1c75579170072dc59b8dee2b55ce31663178f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030172","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030172","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240614-0007","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-05T13:44:28.294Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-30172","url":"https://www.cve.org/CVERecord?id=CVE-2024-30172","licence":"CVE Terms of Use","modified":"2024-11-05T17:15:29.205Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m44j-cfrm-g8qc","url":"https://github.com/advisories/GHSA-m44j-cfrm-g8qc","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:14.435Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-30172","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30172","licence":"Public domain","modified":"2026-06-17T07:26:25.077Z"}],"updatedAt":"2026-11-25T22:58:40.135Z","epss":{"score":0.00753,"percentile":0.5627,"date":"2026-12-01T12:00:22.000Z"}}