Home / Legion of the Bouncy Castle Inc. / BC-JAVA / CVE-2026-71887
CVE-2026-71887: is it exploited, and which versions of Legion of the Bouncy Castle Inc. BC-JAVA are affected and fixed?
CVE-2026-71887 is a cryptographic signature not verified vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: BC-JAVA from 1.81 before 1.86 (CVE record by bcorg). Fixed in 1.86 (CVE record by bcorg). Severity: High (8.2, CVSS 4.0, from bcorg).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-71887?
OpenPGP data signature accepted from a signing subkey without cross-certification
In Bouncy Castle for Java before 1.86, the high-level OpenPGP API accepted a data signature made by a signing subkey whose Subkey Binding signature carried no embedded Primary Key Binding (cross-certification) signature, in the case where that binding omits a Key Flags subpacket. RFC 9580 sec. 5.2.1.8 and sec. 10.1.3 require the embedded Primary Key Binding signature on any subkey that can issue signatures; it is the subkey's own statement that it belongs to the primary key it is bound under. OpenPGPCertificate resolved the subkey's key flags two different ways. isSigningKey() goes through getKeyFlags() and getApplyingSubpacket(), which falls back to the primary key's direct-key or primary User ID self-signature when the binding signature omits the subpacket, so the subkey inherited the primary's SIGN_DATA and counted as signing-capable; verifyEmbeddedPrimaryKeyBinding(), which enforces the requirement, reads the binding signature's own hashed subpackets, found no SIGN_DATA there, and returned early as a non-signing key without ever demanding the back signature. The same subkey was therefore signing-capable - so its signatures were attributed to the certificate and OpenPGPSignature.OpenPGPDocumentSignature.isValid() returned true - while being exempt from cross-certification, where GnuPG refuses the identical certificate and message. An attacker needs only the victim's public signing subkey, which is public material: they bind it to their own primary key with a Subkey Binding signature they are able to make, carrying no Key Flags and no embedded Primary Key Binding signature, which they cannot make without the subkey's private key, and a relying party verifying one of the victim's genuinely signed messages against that certificate is told the signature is valid and given the attacker's certificate as its issuer. Because a certificate's User IDs are self-asserted, a verifier that pins on the subkey's fingerprint or key ID while taking the identity from the enclosing certificate reports a real signature under an attacker-chosen identity. This is misattribution of a genuine signature rather than forgery of a new one: no private key is recovered, and the signature must be one the grafted subkey actually made. The low-level PGPSignature / PGPPublicKeyRing API performs no binding checks by design and is unaffected. Key Flags are a statement about the key the carrying signature refers to (RFC 9580 sec. 5.2.3.29), so a subkey no longer inherits them from the certificate-wide signatures of the primary key: a Subkey Binding signature that omits the subpacket now leaves the subkey with no capabilities rather than the primary's, which makes the flags the cross-certification check consults the same flags every other decision consults. Preferences and the other subpackets a direct-key signature carries are inherited as before, and the primary key itself, whose flags legitimately come from its own direct-key or User ID self-signature, is unaffected.
From the CVE record by bcorg, last updated October 5, 2026, 16:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-JAVA bcpg all | from 1.81 before 1.86 | 1.86 |
As the CVE record by bcorg states it, last updated October 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-71887?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber | bcorg |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-71887 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 5, 2026)
- EPSS
- 0.09% probability of exploitation activity in the next 30 days, percentile 0.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
- CWE-345 Insufficient Verification of Data Authenticity
Where are the vendor advisories and references?
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071887 vendor-advisory
- https://github.com/bcgit/bc-java/commit/b51452fa48ccb578fc16b8222fce9eedf92c94d6 patch
Who found and reported it?
- Arpan Sharma (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 8, 2026
- Published
- October 3, 2026, 08:39 UTC
- CVE record updated
- October 5, 2026, 16:04 UTC by bcorg
- NVD
- Awaiting Analysis, last modified October 6, 2026, 14:49 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect BC-JAVA?
- Oct 3, 2026CVE-2026-71890 Legion of the Bouncy Castle Inc. BC-JAVA: incorrect authorization
- Oct 3, 2026CVE-2026-71891 Legion of the Bouncy Castle Inc. BC-JAVA: cryptographic signature not verified
- Oct 3, 2026CVE-2026-18040 Legion of the Bouncy Castle Inc. BC-JAVA: timing side channel
- Oct 3, 2026CVE-2026-71885 Legion of the Bouncy Castle Inc. BC-JAVA: improper certificate validation
- Oct 3, 2026CVE-2026-71886 Legion of the Bouncy Castle Inc. BC-JAVA: incorrect authorization
- Oct 3, 2026CVE-2026-71888 Legion of the Bouncy Castle Inc. BC-JAVA: improper Validation of Integrity Check Value
- Oct 3, 2026CVE-2026-71889 Legion of the Bouncy Castle Inc. BC-JAVA: improper certificate validation
- Oct 3, 2026CVE-2026-71892 Legion of the Bouncy Castle Inc. BC-JAVA: incorrect comparison
Questions about CVE-2026-71887
Is CVE-2026-71887 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.09% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Legion of the Bouncy Castle Inc. BC-JAVA are affected by CVE-2026-71887?
BC-JAVA from 1.81 before 1.86, per the CVE record by bcorg. The tables above give every range the sources list.
Which version fixes CVE-2026-71887?
1.86, per the CVE record by bcorg. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-71887?
High (8.2, CVSS 4.0, from bcorg). The severity table above shows each score with its source.
Where is the official record of CVE-2026-71887?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.