CVE-2026-71891Legion OF The Bouncy Castle Inc BC-JAVA improper verification of cryptographic signature
CVSS score
7.1
High
CVSS 4.0 from 91579145-5d7b-4cc5-b925-a0262ff19630
Exploit probability (EPSS)
0.17%
0.17% chance of exploitation in the next 30 days, higher than 6.93% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
In Bouncy Castle for Java before 1.86, BLS12_381BasicScheme.keyValidate, and so BLSPublicKeyParameters and every BasicScheme, MessageAugmentation and ProofOfPossession verify and aggregateVerify that gate on it, accepted a public key built on a foreign ECCurve that merely shares BLS12-381's field characteristic. The prime-order subgroup check trusts a point's own curve to name its cofactor, since ECPoint.satisfiesOrder returns true outright when the curve's cofactor is one, so a point on a curve with a different equation and a cofactor forged to one passed keyValidate despite not being a G1 point at all. In BC's pairing implementation such a point contributes the identity in the target group, so an aggregate signature verified against a set of public keys including it is accepted even though it contains no signature for that key and message pair, admitting a phantom signer. keyValidate now first confirms that the point's curve carries exactly the canonical G1 field, equation, order and cofactor before any subgroup check. The issue is reachable only where an application constructs an ECPoint on an explicit, non-canonical curve and accepts it as an authority-bearing key; the standard 48-byte compressed-point decoder always supplies the canonical curve and was never affected.
Source: NVD · CNA: 91579145-5d7b-4cc5-b925-a0262ff19630
How to fix it, step by step
Check whether you're affected
Find every system running Legion of the Bouncy Castle Inc. BC-JAVA and compare its version with the affected versions.
Update to a fixed version
- Update BC-JAVA to 1.86 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
Affected products
| Affected products | Versions |
|---|---|
| Legion of the Bouncy Castle Inc. BC-JAVA | ≥ 1.85, < 1.86 |
Weakness
- CWE-347 improper verification of cryptographic signature
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-71891 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-71891?
CVE-2026-71891 has a CVSS 4.0 base score of 7.1 (high).
Which versions are affected?
Legion OF The Bouncy Castle Inc BC-JAVA (≥ 1.85, < 1.86)
Is there a patch for CVE-2026-71891?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.