Certificate validation bypassin Legion of the Bouncy Castle BC-JAVA.
No public exploit found; not on exploited lists.
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.
- Upgrade BC-JAVA to 1.86 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Aug 2026CVE ID reserved by bcorg.
- 3 Oct 2026Published in the CVE List.
- 5 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other BC-JAVA vulnerabilities
Same weakness: Improper certificate validation
- github.com vendor-advisory
- github.com patch
Patchminder. CVE-2026-71885: Certificate validation bypass in Legion of the Bouncy Castle BC-JAVA. https://patchminder.com/cve/cve-2026-71885/ (accessed 5 December 2026).