VYPR
High severityNVD Advisory· Published Oct 8, 2019· Updated Aug 5, 2024

CVE-2019-17359

CVE-2019-17359

Description

The ASN.1 parser in Bouncy Castle Crypto (aka BC Java) 1.63 can trigger a large attempted memory allocation, and resultant OutOfMemoryError error, via crafted ASN.1 data. This is fixed in 1.64.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Crafted ASN.1 data can cause excessive memory allocation in Bouncy Castle Crypto 1.63, leading to denial of service via OutOfMemoryError.

The ASN.1 parser in Bouncy Castle Crypto (BC Java) version 1.63 contains a vulnerability that allows specially crafted ASN.1 data to trigger an attempted large memory allocation, resulting in an OutOfMemoryError. This is a denial-of-service (DoS) condition that can crash the Java application or make it unresponsive [1].

An attacker can exploit this by supplying malicious ASN.1 encoded input to an application that uses the vulnerable Bouncy Castle library. No authentication is required if the application parses untrusted ASN.1 data, and the attack can be delivered over the network if the application accepts remote input. The crafted data forces the parser to attempt to allocate an excessive amount of memory, exhausting the available heap space [1].

Successful exploitation leads to a denial of service, disrupting services that rely on Bouncy Castle for cryptographic operations. The vulnerability is fixed in Bouncy Castle Crypto version 1.64. Users should upgrade to version 1.64 or later to mitigate the risk. No workaround is documented [1].

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.bouncycastle:bcprov-jdk14Maven
>= 1.63, < 1.641.64

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

27

News mentions

0

No linked articles in our index yet.