# CVE-2019-17359: Out-of-Memory Error in Bouncy Castle Crypto

Source: https://junglewise.ai/threats/cve-2019-17359-out-of-memory-error-in-bouncy-castle-crypto  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-10-17  
License: CC BY 4.0 with a link back

CVE-2019-17359 · Severity: low · CVSS 3.1 · Published 2019-10-17

Out-of-Memory Error in Bouncy Castle Crypto

Technologies: [org.bouncycastle:bcprov-jdk14 (Maven)](https://junglewise.ai/threats/technologies/org-bouncycastle-bcprov-jdk14). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2019-17359 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-17359 being exploited in the wild.

**How severe is CVE-2019-17359?** Low severity, with a CVSS score of 3.1, published 17 October 2019.

**Which products and versions are affected?** org.bouncycastle:bcprov-jdk14 (Maven) ECOSYSTEM:introduced=1.63,fixed=1.64.

**Is there a fix for CVE-2019-17359?** Yes. org.bouncycastle:bcprov-jdk14 (Maven): upgrade to 1.64 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-17359?** Check whether you run org.bouncycastle:bcprov-jdk14 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.bouncycastle:bcprov-jdk14 (Maven): upgrade to 1.64 or later

  ```sh
  # set org.bouncycastle:bcprov-jdk14 to 1.64 in your pom.xml or build.gradle
  ```


## Affected products

- org.bouncycastle:bcprov-jdk14 (Maven) ECOSYSTEM:introduced=1.63,fixed=1.64

## Identifiers

- CVE-2019-17359
- GHSA-2mh8-gx2m-mr75

## Related threats

- [Bouncy Castle BC-JAVA timing channel in FrodoKEM](https://junglewise.ai/threats/cve-2026-5598-bouncy-castle-bc-java-timing-channel-in-frodokem)
- [Bouncy Castle BC-JAVA LDAP injection in LDAPStoreHelper](https://junglewise.ai/threats/cve-2026-0636-bouncy-castle-bc-java-ldap-injection-in-ldapstorehelper)
- [Bouncy Castle BC-JAVA risky cryptography in G3413CTRBlockCipher](https://junglewise.ai/threats/cve-2025-14813-bouncy-castle-bc-java-risky-cryptography-in-g3413ctrblockcipher)
- [Bouncy Castle for Java on All (API modules) allows Excessive Allocation](https://junglewise.ai/threats/cve-2025-8885-bouncy-castle-for-java-on-all-api-modules-allows-excessive)
- [Bouncy Castle crafted signature and public key can be used to trigger an infinite loop](https://junglewise.ai/threats/cve-2024-30172-bouncy-castle-crafted-signature-and-public-key-can-be-used-to)
