Bouncycastle: In Bouncy Castle for Java before 1.85, BKS keystore accepts legacy version with 16-bit integrity MAC key. (CVE-2026-59651)
Description
Bouncy Castle for Java versions before 1.85 and LTS versions before 2.73.12 have a vulnerability in the BKS keystore where it accepts a legacy version using a weak 16-bit integrity MAC key. This weakness can lead to integrity compromise without affecting confidentiality or availability. The CVSS score is 7.5, indicating a medium severity vulnerability.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/bouncycastle?arch=source&distro=stonkingpkg:deb/ubuntu/bouncycastle?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Bouncy Castle for Java prior to version 1.85 and LTS prior to 2.73.12 involves the BKS keystore accepting a legacy version that uses a 16-bit integrity MAC key, which is cryptographically weak. This flaw allows an attacker to compromise the integrity of the keystore data. The weakness does not impact confidentiality or availability but can lead to unauthorized modification of keystore contents. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, indicating network attack vector, low attack complexity, no privileges or user interaction required, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact.
Potential Impact
An attacker can exploit this vulnerability to compromise the integrity of the BKS keystore data by leveraging the weak 16-bit MAC key. This could allow unauthorized modification of keystore contents, potentially undermining trust in cryptographic operations relying on the keystore. There is no impact on confidentiality or availability.
Mitigation Recommendations
The vulnerability affects Bouncy Castle for Java versions before 1.85 and LTS versions before 2.73.12. Users should upgrade to version 1.85 or later, or LTS version 2.73.12 or later, where this issue is resolved. Patch status is not explicitly confirmed in the provided data, so users should verify the availability of official fixes from the vendor or distribution maintainers. No other specific mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-59651
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad3f5d82cdf04f656663249
Added to database: 10/17/2026, 22:25:28 UTC
Last enriched: 10/18/2026, 00:30:00 UTC
Last updated: 10/18/2026, 00:30:00 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.