# CVE-2024-30172: Bouncy Castle crafted signature and public key can be used to trigger an infinite loop

- 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): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-05-09T00:00:00.000Z
- Modified: 2026-09-10T03:50:14.435Z
- Also known as: GHSA-m44j-cfrm-g8qc
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- bouncycastle legion-of-the-bouncy-castle-java-crytography-api: before 1.78
- org.bouncycastle:bcprov-jdk18on (Maven): from 1.73 before 1.78
- org.bouncycastle:bcprov-jdk15to18 (Maven): from 1.73 before 1.78
- org.bouncycastle:bcprov-jdk14 (Maven): from 1.73 before 1.78
- org.bouncycastle:bctls-jdk18on (Maven): from 1.73 before 1.78
- org.bouncycastle:bctls-jdk14 (Maven): from 1.73 before 1.78
- org.bouncycastle:bctls-jdk15to18 (Maven): from 1.73 before 1.78
- 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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://www.bouncycastle.org/latest_releases.html> (web)
- <https://security.netapp.com/advisory/ntap-20240614-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-30172> (advisory)
- <https://github.com/bcgit/bc-java/commit/1b9fd9b545e691bfb3941a9f6a797660c8860f02> (web)
- <https://github.com/bcgit/bc-java/commit/9c165791b68a204678b48ec11e4e579754c2ea49> (web)
- <https://github.com/bcgit/bc-java/commit/ebe1c75579170072dc59b8dee2b55ce31663178f> (web)
- <https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030172> (web)
- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030172> (web)
- <https://security.netapp.com/advisory/ntap-20240614-0007> (web)

## Sources

- CVE List: [CVE-2024-30172](https://www.cve.org/CVERecord?id=CVE-2024-30172), CVE Terms of Use, modified 2024-11-05
- GitHub Advisory Database: [GHSA-m44j-cfrm-g8qc](https://github.com/advisories/GHSA-m44j-cfrm-g8qc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-30172](https://nvd.nist.gov/vuln/detail/CVE-2024-30172), Public domain, modified 2026-06-17

---

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