CVE-2026-71891
CVE-2026-71891 · BLS12-381 key validation accepts a public key built on a foreign curve
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.1 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
bc-java
- Versions
- ≥ 1.85, < 1.86: Affected (maven)
Update to 1.86
bouncycastle Debian:12
- Versions
- 1.72-2
- 1.77-1
- 1.80-1
- 1.80-2
- 1.80-3
- 1.86-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Debian:13
- Versions
- 1.80-3
- 1.86-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Debian:14
- Versions
- 1.80-3
- Affected ranges
- ECOSYSTEM: < 1.86-1
Update to 1.86-1
bouncycastle Ubuntu:Pro:16.04:LTS
- Versions
- 1.49+dfsg-3ubuntu1
- 1.51-4ubuntu1
- 1.51-4ubuntu1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Ubuntu:Pro:18.04:LTS
- Versions
- 1.57-1
- 1.58-1
- 1.59-1
- 1.59-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Ubuntu:Pro:20.04:LTS
- Versions
- 1.61-1
- 1.61-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Ubuntu:Pro:22.04:LTS
- Versions
- 1.68-2
- 1.68-4
- 1.68-5
- 1.68-5ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Ubuntu:Pro:24.04:LTS
- Versions
- 1.72-2
- 1.77-1
- 1.77-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Ubuntu:26.10
- Versions
- 1.80-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bouncycastle Ubuntu:26.04:LTS
- Versions
- 1.80-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published