CVE-2026-71885
Last modified
CVE-2026-71885 is a critical-severity vulnerability rated 9.2/10 on the CVSS scale. In Bouncy Castle for Java before 1.86, the Messaging Layer Security (MLS, RFC 9420) implementation did not bind an X.509 credential to a LeafNode's signature_key. LeafNode.verify() checked a leaf's signature against the signature_key carried in the leaf itself, while the credential's X.509 certificate chain was stored but never parsed or validated, so the end-entity certificate's public key was never required to match signature_key as RFC 9420 sec.
Description
In Bouncy Castle for Java before 1.86, the Messaging Layer Security (MLS, RFC 9420) implementation did not bind an X.509 credential to a LeafNode's signature_key. LeafNode.verify() checked a leaf's signature against the signature_key carried in the leaf itself, while the credential's X.509 certificate chain was stored but never parsed or validated, so the end-entity certificate's public key was never required to match signature_key as RFC 9420 sec. 5.3 requires. A party could therefore present another party's certificate as its credential while signing the leaf, and the enclosing KeyPackage, with an unrelated key, and be accepted under that other party's identity through KeyPackage.verify() and the Group leaf-validation path. In a deployment that admits external commits without an independent credential-admission check, an unauthenticated attacker could be admitted under a victim's X.509 identity, evict the victim (resynchronization compares whole credentials rather than signing keys), derive the current epoch, decrypt subsequent group messages, and send messages accepted as the victim. TreeKEM.LeafNode now requires the end-entity certificate's subject public key, in the cipher suite's signature encoding, to equal signature_key for an X.509 credential and rejects the leaf otherwise, including an empty chain or a certificate whose key type does not match the cipher suite; certificate-chain and identity validation to a trust anchor remain the application's responsibility per RFC 9420 sec. 5.3.1. Deployments using only basic credentials are unaffected.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-JAVA | < 1.86 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-71885?
How severe is CVE-2026-71885?
How do I fix CVE-2026-71885?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-71871Orval generates type-safe JavaScript clients in TypeScript f…9.3
- CVE-2026-71878Missing authentication in initial setup functionality left e…9.2
- CVE-2026-71879Missing authentication in initial setup functionality left e…9.1
- CVE-2026-7188Improper neutralization of special elements used in an SQL c…9.8
- CVE-2026-71880Interpretation of untrusted input in template engine in GBIF…7.6
- CVE-2026-71883In Bouncy Castle for Java LTS before 2.73.13, the one-shot n…8.2
- CVE-2026-71886In Bouncy Castle for Java before 1.86, the high-level OpenPG…8.2
- CVE-2026-71887In Bouncy Castle for Java before 1.86, the high-level OpenPG…8.2
- CVE-2026-71888In Bouncy Castle for Java before 1.86, the streaming CMS Aut…8.7
- CVE-2026-71889In Bouncy Castle for Java before 1.86, neither copy of PKIXC…8.7
- CVE-2026-7189Insertion of sensitive information into sent data vulnerabil…7.5
- CVE-2026-71890In Bouncy Castle for Java before 1.86, validation of an MLS …8.7
Are you affected by CVE-2026-71885?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
