# CVE-2026-71891: BLS12-381 key validation accepts a public key built on a foreign curve

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **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:Amber`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-347
- **Published:** 2026-10-03T08:56:01.050Z
- **Modified:** 2026-10-06T14:49:40.823Z

## Who should check

- Anyone running Legion of the Bouncy Castle Inc. BC-JAVA \>= 1.85, \< 1.86

## 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

- Legion of the Bouncy Castle Inc. BC-JAVA: \>= 1.85, \< 1.86 (cvelist)

## Mitigation

- Upgrade BC-JAVA to 1.86 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071891>
- patch: <https://github.com/bcgit/bc-java/commit/c16bcfdce1f96230261b7c2c8c1e044bfc9d1deb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-71891>

HTML: <https://flawdb.com/CVE-2026-71891> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-71891>
