# Deserialization of Untrusted Data in Bouncy castle

Advisory record · `GHSA-4446-656p-f54g`

- **Identifiers:** `GHSA-4446-656p-f54g` · `CVE-2018-1000613`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-470](https://cwe.mitre.org/data/definitions/470.html) · [CWE-502](https://cwe.mitre.org/data/definitions/502.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md) · [Insecure deserialization](https://agentprime.io/advisories/tag/deserialization.md)
- **Published:** 17 Oct 2018
- **Updated:** 12 May 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Oct 2018, 16:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.bouncycastle:bcprov-jdk15on` (Maven): affected `>=1.57, <1.60`; fixed in `1.60`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Bouncy Castle bcprov-jdk15on versions 1.57 up to but not including 1.60 are vulnerable to unsafe deserialization in XMSS/XMSS^MT private key handling. An attacker who can supply a handcrafted private key can cause the application to load unexpected classes from its classpath, which may lead to execution of unintended code. Upgrade bcprov-jdk15on to version 1.60 or later.

Written 7 Nov 2026.

## 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

- 9.8 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.048, the 92nd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:11 UTC: First seen by agentprime
- 31 Oct 2026, 15:11 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-4446-656p-f54g)

## Sources

- [GitHub Advisory Database: GHSA-4446-656p-f54g](https://github.com/advisories/GHSA-4446-656p-f54g)
- [OSV: GHSA-4446-656p-f54g](https://osv.dev/vulnerability/GHSA-4446-656p-f54g)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1000613>
- <https://github.com/bcgit/bc-java/commit/4092ede58da51af9a21e4825fbad0d9a3ef5a223#diff-2c06e2edef41db889ee14899e12bd574>
- <https://github.com/bcgit/bc-java/commit/cc9f91c41be67e88fca4e38f4872418448950fd9>
- <https://github.com/bcgit/bc-java/commit/cd98322b171b15b3f88c5ec871175147893c31e6#diff-148a6c098af0199192d6aede960f45dc>
- <https://github.com/advisories/GHSA-4446-656p-f54g>
- <https://github.com/bcgit/bc-java>
- <https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E>
- <https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E>
- <https://security.netapp.com/advisory/ntap-20190204-0003>
- <https://www.oracle.com/security-alerts/cpuApr2021.html>
- <https://www.oracle.com/security-alerts/cpuapr2020.html>
- <https://www.oracle.com/security-alerts/cpuoct2020.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-4446-656p-f54g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4446-656p-f54g/>. Everything for agents: <https://agentprime.io/llms.txt>.
