CVE-2024-29857bouncycastle bc-java
High 7.5 No auth needed
Follow: this CVE · bouncycastle · bouncycastle bc-java We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- May 14, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for bc-java.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.bouncycastle:bc-fips |
< 1.0.2.5 |
1.0.2.5 |
— |
| Maven | org.bouncycastle:bcprov-jdk14 |
< 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk15on |
< 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk15to18 |
< 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bcprov-jdk18on |
< 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bctls-jdk14 |
< 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bctls-jdk15to18 |
< 1.78 |
1.78 |
— |
| Maven | org.bouncycastle:bctls-jdk18on |
< 1.78 |
1.78 |
— |
| NuGet | BouncyCastle |
all |
no fixed version | — |
| NuGet | BouncyCastle.Cryptography |
< 2.3.1 |
2.3.1 |
dotnet add package BouncyCastle.Cryptography --version 2.3.1 |
Per OSV / GitHub Advisories (GHSA-8xfc-gm6g-vgpv). Check the version in your lockfile before upgrading.
Affected products
- bouncycastle · bc-java
- bouncycastle · bc-fja
- bouncycastle · bc_c_.net
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.18 Security update · Red Hat · RHSA-2024:5145 · Aug 5, 2026 High
- Multiple Vulnerabilities in SIDIS Prime Before V4.0.800 · Siemens · SSA-485750 · Mar 10, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.