Skip to main content

Bouncycastle: In Bouncy Castle for Java before 1.85, CMS verifySignatures returns true for SignedData with zero signers. (CVE-2026-59639)

0
Medium
Published: 08/03/2026 (08/03/2026, 01:16:00 UTC)
Source: GCVE Database
Product: bouncycastle

Description

Bouncy Castle for Java versions before 1.85 have a vulnerability where the CMS verifySignatures method returns true even when SignedData contains zero signers. This affects multiple Bouncy Castle Java variants, including LTS and FIPS versions prior to specific releases. The issue could lead to improper signature verification results.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/xenial
Affected versions
=1.49+dfsg-3ubuntu1=1.51-4ubuntu1=1.51-4ubuntu1+esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/bionic
Affected versions
=1.57-1=1.58-1=1.59-1=1.59-1ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/focal
Affected versions
=1.61-1=1.61-1ubuntu0.1~esm1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/jammy
Affected versions
=1.68-2=1.68-4=1.68-5=1.68-5ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/noble
Affected versions
=1.72-2=1.77-1=1.77-1ubuntu0.1~esm1
Ubuntu:26.10more threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=stonking
Affected versions
=1.80-3
Ubuntu:26.04:LTSmore threats →ghsa
bouncycastle
pkg:deb/ubuntu/bouncycastle?arch=source&distro=resolute
Affected versions
=1.80-3

Run 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

AILast updated: 10/18/2026, 00:30:37 UTC

Technical Analysis

The vulnerability in Bouncy Castle for Java prior to version 1.85 causes the CMS verifySignatures method to incorrectly return true when verifying SignedData objects that have no signers. This flaw is also present in Bouncy Castle for Java LTS versions before 2.73.12 and Bouncy Castle for Java FIPS versions before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series), and 2.1.12 (2.1.X series). The incorrect verification result could allow an attacker to bypass signature validation checks under certain conditions.

Potential Impact

The vulnerability allows the verifySignatures method to indicate a successful signature verification even when no signers are present in the SignedData. This can lead to a false sense of data integrity and authenticity, potentially enabling attackers to bypass signature verification controls. The CVSS 3.1 score is 7.5 (High impact on integrity, no impact on confidentiality or availability).

Mitigation Recommendations

A fix is available in Bouncy Castle for Java version 1.85 and later, Bouncy Castle for Java LTS version 2.73.12 and later, and Bouncy Castle for Java FIPS versions bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series), and 2.1.12 (2.1.X series) or later. Users should upgrade to these fixed versions to resolve the issue. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-59639
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: 6ad3f5da2cdf04f656663251

Added to database: 10/17/2026, 22:25:30 UTC

Last enriched: 10/18/2026, 00:30:37 UTC

Last updated: 10/18/2026, 00:30:37 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses