CVE-2026-71891
BLS12-381 key validation accepts a public key built on a foreign curve
Mitigation
- Upgrade BC-JAVA to 1.86 or later.
Who should check
- Anyone running Legion of the Bouncy Castle Inc. BC-JAVA >= 1.85, < 1.86
Vulnerability facts
- Affected
- Legion of the Bouncy Castle Inc. BC-JAVA >= 1.85, < 1.86
- Fixed in
- Legion of the Bouncy Castle Inc. BC-JAVA 1.86
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.1 (v4.0, CNA)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/U:AmberOpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- U: Amber
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-347
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Legion of the Bouncy Castle Inc. BC-JAVA | >= 1.85, < 1.86 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-71891. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-71891.md Affected: Legion of the Bouncy Castle Inc. BC-JAVA >= 1.85, < 1.86 Fixed in: Legion of the Bouncy Castle Inc. BC-JAVA 1.86 Steps: 1. Search this machine and project for Legion of the Bouncy Castle Inc. BC-JAVA: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-71891 being exploited?
There is no confirmed exploitation: CVE-2026-71891 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-71891?
High: CVSS 7.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-71891?
Legion of the Bouncy Castle Inc. BC-JAVA >= 1.85, < 1.86.
Is there a fix for CVE-2026-71891?
Yes. Fixed in Legion of the Bouncy Castle Inc. BC-JAVA 1.86. Upgrade BC-JAVA to 1.86 or later.
How do I check if I'm affected by CVE-2026-71891?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.