Legion of the Bouncy Castle Inc. BC-JAVA
CMS verifySignatures returns true for SignedData with zero signers
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).
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-347
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Legion of the Bouncy Castle Inc. BC-JAVA
- < 1.85
Fixed in 1.85
Legion of the Bouncy Castle Inc. BC-LTS-JAVA
- >= 2.73.0, < 2.73.12
Fixed in 2.73.12
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
Fixed in 1.0.12, 2.0.12, 2.1.12
Mitigation
Upgrade BC-JAVA to 1.85 or later.
Upgrade BC-LTS-JAVA to 2.73.12 or later.
Upgrade BC-FJA to 1.0.12 or 2.0.12 or 2.1.12 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.