# Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.

Advisory record · `GHSA-8xfc-gm6g-vgpv`

- **Identifiers:** `GHSA-8xfc-gm6g-vgpv` · `CVE-2024-29857`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-125](https://cwe.mitre.org/data/definitions/125.html) · [CWE-400](https://cwe.mitre.org/data/definitions/400.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md) · [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 14 May 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 May 2024, 15:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.bouncycastle:bcprov-jdk18on` (Maven): affected `<1.78`; fixed in `1.78`
- `org.bouncycastle:bcprov-jdk15on` (Maven): affected `<1.78`; fixed in `1.78`
- `org.bouncycastle:bcprov-jdk15to18` (Maven): affected `<1.78`; fixed in `1.78`
- `org.bouncycastle:bcprov-jdk14` (Maven): affected `<1.78`; fixed in `1.78`
- `org.bouncycastle:bctls-jdk18on` (Maven): affected `<1.78`; fixed in `1.78`
- `org.bouncycastle:bctls-jdk14` (Maven): affected `<1.78`; fixed in `1.78`
- `org.bouncycastle:bctls-jdk15to18` (Maven): affected `<1.78`; fixed in `1.78`
- `org.bouncycastle:bc-fips` (Maven): affected `<1.0.2.5`; fixed in `1.0.2.5`
- `BouncyCastle` (NuGet): affected `all versions`; no fixed version yet
- `BouncyCastle.Cryptography` (NuGet): affected `<2.3.1`; fixed in `2.3.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.011, the 66th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:18 UTC: First seen by agentprime
- 31 Oct 2026, 14:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8xfc-gm6g-vgpv)

## Sources

- [GitHub Advisory Database: GHSA-8xfc-gm6g-vgpv](https://github.com/advisories/GHSA-8xfc-gm6g-vgpv)
- [OSV: GHSA-8xfc-gm6g-vgpv](https://osv.dev/vulnerability/GHSA-8xfc-gm6g-vgpv)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29857>
- <https://github.com/bcgit/bc-csharp/commit/56daa6eac526f165416d17f661422d60de0dfd63>
- <https://github.com/bcgit/bc-java/commit/efc498ca4caa340ac2fe11f2efee06c1a294501f>
- <https://github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281>
- <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://security.netapp.com/advisory/ntap-20241206-0008>
- <https://www.bouncycastle.org/latest_releases.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8xfc-gm6g-vgpv>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8xfc-gm6g-vgpv/>. Everything for agents: <https://agentprime.io/llms.txt>.
