Description
In Bouncy Castle for Java before 1.85, CMS verifySignatures returns true for SignedData with zero signers. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) 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).
Published: 2026-08-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Bouncy Castle for Java libraries performed an incorrect signature verification check in CMS verifySignatures, treating a SignedData object containing no signers as valid. The flaw is a signature verification failure (CWE-347) allowing an attacker to embed unsigned or tampered CMS data that the library will accept as authentic. The impact is that applications using the library may process malicious payloads as if they were signed, potentially enabling data tampering or impersonation.

Affected Systems

The vulnerability affects Bouncy Castle for Java (BC-JAVA) versions earlier than 1.85, the long-term support release before 2.73.12, and the Federal Information Processing Standard version, specifically bcpkix-fips releases below 1.0.12, 2.0.12, and 2.1.12. Any installation that depends on those releases is exposed. The known vendors are the Legion of the Bouncy Castle Inc. for BC-FJA, BC-JAVA, and BC-LTS-JAVA.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, yet the EPSS score is not available, so the likelihood of exploitation remains uncertain. The issue is not listed in the CISA KEV catalog, implying no known public exploit. An attacker would need to supply crafted CMS SignedData to a vulnerable application; this can be done locally or remotely based on how the application accepts CMS structures. Because the library blindly trusts lack of signers as valid, the path to exploitation is straightforward for code that unconditionally accepts the verification result. The inference is that the likely attack vector is through any interface that transmits CMS data to the library, such as network services or file inputs.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Bouncy Castle for Java 1.85 or later.
  • Upgrade to Bouncy Castle for Java LTS 2.73.12 or later.
  • Upgrade to Bouncy Castle for Java FIPS bcpkix-fips 1.0.12, 2.0.12, or 2.1.12 or later.
  • Add application-level validation to ensure CMS SignedData contains at least one signer before accepting it as authenticated.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
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-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java

Mon, 03 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 03 Aug 2026 05:30:00 +0000


Mon, 03 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, CMS verifySignatures returns true for SignedData with zero signers. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) 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).
Title CMS verifySignatures returns true for SignedData with zero signers
Weaknesses CWE-347
References
Metrics cvssV4_0

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


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T13:24:16.359Z

Reserved: 2026-07-06T06:58:29.263Z

Link: CVE-2026-59639

cve-icon Vulnrichment

Updated: 2026-08-03T13:24:12.555Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T01:16:43.700

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-59639

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:00:07Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature