8.7High
CVE-2026-59639CMS verifySignatures returns true for SignedData with zero signers
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).
Weakness (CWE):
CWE-347
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| bouncycastle | bc-java | < 1.85 | |
| bouncycastle | bcpkix-fips | < 1.0.12 | |
| bouncycastle | bouncy castle for java lts | ≤ 2.73.11 | |
| Legion of the Bouncy Castle Inc. | BC-FJA | 1.0.0 – < 1.0.12, 2.0.0 – < 2.0.12, 2.1.0 – < 2.1.12 | |
| Legion of the Bouncy Castle Inc. | BC-JAVA | < 1.85 | |
| Legion of the Bouncy Castle Inc. | BC-LTS-JAVA | 2.73.0 – < 2.73.12 |
References and patches
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9059639 vendor-advisoryThird Party Advisory
- https://github.com/bcgit/bc-java/commit/99ddc6dcc6782e6a76b0dd587c77e62eb7096ad0 patchPatch
CPE matches (NVD) (5)
cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*< 1.85cpe:2.3:a:bouncycastle:bcpkix-fips:*:*:*:*:*:*:*:*< 1.0.12cpe:2.3:a:bouncycastle:bcpkix-fips:*:*:*:*:*:*:*:*≥ 2.0.7 < 2.0.12cpe:2.3:a:bouncycastle:bcpkix-fips:*:*:*:*:*:*:*:*≥ 2.1.8 < 2.1.12cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*≤ 2.73.11