Information disclosure in BouncyCastle

Published: 2018-03-22
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-5382
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
The Bouncy Castle Crypto Package For Java
Universal components / Libraries / Libraries used by multiple products

Vendor Legion of the Bouncy Castle Inc.

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Brute-force attack

EUVDB-ID: #VU11223

Risk: Low


CVE-ID: CVE-2018-5382

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No


The vulnerability allows a local attacker to cobtain potentially sensitive information on the target system.

The weakness exists due to a design error when determining the size of the to be used to protect data inside of a keystore. A local attacker can gain access to a BKSv1 keystore file, bypass security restrictions and conduct brute-force attack.


Update to version 1.47 or later.

Vulnerable software versions

The Bouncy Castle Crypto Package For Java: 1.0 - 1.46

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?