Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2018-5382
bouncycastle bc-java

Score4.4 Medium
CVSS 3.1
Exploit probability (EPSS)0.26%
within the next 30 days
CategoryCryptographic weakness
Published16 April 2018
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

Impact is limited: reading confidential data, modifying data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

The default BKS keystore use an HMAC that is only 16 bits long, which can allow an attacker to compromise the integrity of a BKS keystore. Bouncy Castle release 1.47 changes the BKS format to a format which uses a 160 bit HMAC instead. This applies to any BKS keystore generated prior to BC 1.47. For situations where people need to create the files for legacy reasons a specific keystore type "BKS-V1" was introduced in 1.49. It should be noted that the use of "BKS-V1" is discouraged by the library authors and should only be used where it is otherwise safe to do so, as in where the use of a 16 bit checksum for the file integrity check is not going to cause a security issue in itself.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Weakness: CWE-327, CWE-354

Affected products

VendorProductVersions
bouncycastlebc-java<=1.49
redhatsatellite6.4
redhatsatellite capsule6.4

Sources

Latest in the same category

  • CVE-2026-81069 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Insufficiently Random Values vulnerability. A low privileged local attacker could potentially exploit this vulnerability,…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-107967 Low 0.9
    HCL Verse for Android included a decryption code for compatibility with locally stored values and attachment files created by older application versions (no longer used for data stored by newer versions). HCL Verse for…
    Cryptographic weakness · 27 November 2026
  • CVE-2026-80509 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of a Broken or Risky Cryptographic Algorithm vulnerability. A low privileged local attacker could potentially exploit this…
    Cryptographic weakness · 27 November 2026
  • CVE-2026-137564 High 8.2
    web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for…
    Cryptographic weakness · 26 November 2026
  • CVE-2026-137562 Medium 6.3
    web-token jwt-framework before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption…
    Cryptographic weakness · 26 November 2026
  • CVE-2026-137558 Medium 6.3
    web-token jwt-framework and jwt-library before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 contain a decryption oracle in RSACrypt::decryptWithRSAOAEP(), which accepts a JWE Encrypted Key…
    Cryptographic weakness · 26 November 2026