CVE-2026-59651

BKS keystore accepts legacy version with 16-bit integrity MAC key

Published Aug 3, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
In Bouncy Castle for Java before 1.85, BKS keystore accepts legacy version with 16-bit integrity MAC key. This issue also affects Bouncy Castle for Java LTS before 2.73.12.

Analysis

AI-generated

Technical impact

The vulnerability allows a Bouncy Castle keystore to accept a legacy BKS format that uses a 16‑bit integrity MAC key. This weak key strength permits an attacker to alter the keystore contents without detection, leading to a compromise of data integrity. The weakness is classified as CWE‑326, which denotes insufficient key generation strength.

Affected Systems

Affected products include Bouncy Castle Java libraries. Versions before 1.85 of the standard library and before 2.73.12 of the long‑term support library are vulnerable.

Risk and Exploitability

With a CVSS score of 7.1 the vulnerability is considered high severity. The EPSS score is not available and the issue is not listed in the CISA KEV catalog, which suggests moderate exploitation likelihood. The attack vector is inferred to be local or remote depending on whether an attacker can supply a malicious keystore file; no additional requirements are specified in the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Bouncy Castle Java 1.85 or newer, or to BC‑LTS 2.73.12 or later.
  • Configure the application to reject legacy BKS formats and require newer keystore formats.
  • Restrict filesystem permissions on keystore files and implement monitoring to detect unauthorized modifications.

Generated by OpenCVE AI on August 4, 2026 at 10:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Bouncycastle
Bouncycastle bc-java
Bouncycastle bouncy Castle For Java Lts
CPEs cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle
Bouncycastle bc-java
Bouncycastle bouncy Castle For Java Lts
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, BKS keystore accepts legacy version with 16-bit integrity MAC key. This issue also affects Bouncy Castle for Java LTS before 2.73.12.
Title BKS keystore accepts legacy version with 16-bit integrity MAC key
Weaknesses CWE-326
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber'}

Weaknesses
  • CWE-326

    Inadequate Encryption Strength

Sources

Status
PUBLISHED
Assigner
bcorg
Published
Updated
Aug 3, 2026, 1:31 PM
Reserved
Jul 6, 2026, 7:09 AM
Status
Analyzed
Published
Aug 3, 2026, 1:16 AM
Modified
Sep 2, 2026, 2:24 PM