# Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

Advisory record · `GHSA-4mv7-cq75-3qjm`

- **Identifiers:** `GHSA-4mv7-cq75-3qjm` · `CVE-2015-7940`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 17 Oct 2018
- **Updated:** 12 Sept 2025
- **Reviewed by a person:** No

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

## Affected packages

- `org.bouncycastle:bcprov-jdk15` (Maven): affected `<1.51`; fixed in `1.51`
- `org.bouncycastle:bcprov-jdk14` (Maven): affected `<1.51`; fixed in `1.51`
- `org.bouncycastle:bcprov-jdk15on` (Maven): affected `<1.51`; fixed in `1.51`

## Machine-written summary

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

> The Bouncy Castle Java packages bcprov-jdk14, bcprov-jdk15 and bcprov-jdk15on before 1.51 do not check that a point lies on the elliptic curve. A remote attacker can use a series of crafted elliptic curve Diffie-Hellman (ECDH) key exchanges to obtain private keys. Upgrade to version 1.51 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

No source has published a CVSS score for this record yet.

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

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-4mv7-cq75-3qjm)

## Sources

- [GitHub Advisory Database: GHSA-4mv7-cq75-3qjm](https://github.com/advisories/GHSA-4mv7-cq75-3qjm)
- [OSV: GHSA-4mv7-cq75-3qjm](https://osv.dev/vulnerability/GHSA-4mv7-cq75-3qjm)
- <https://nvd.nist.gov/vuln/detail/CVE-2015-7940>
- <https://github.com/advisories/GHSA-4mv7-cq75-3qjm>
- <https://usn.ubuntu.com/3727-1>
- <https://www.oracle.com/security-alerts/cpuapr2020.html>
- <https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174915.html>
- <http://lists.opensuse.org/opensuse-security-announce/2015-11/msg00012.html>
- <http://rhn.redhat.com/errata/RHSA-2016-2035.html>
- <http://rhn.redhat.com/errata/RHSA-2016-2036.html>
- <http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html>
- <http://www.debian.org/security/2015/dsa-3417>
- <http://www.openwall.com/lists/oss-security/2015/10/22/7>

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-4mv7-cq75-3qjm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4mv7-cq75-3qjm/>. Everything for agents: <https://agentprime.io/llms.txt>.
