Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-71885

MLS X.509 credential not bound to the LeafNode signature key
Back to all
CVE

CVE-2026-71885

MLS X.509 credential not bound to the LeafNode signature key

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 signaturekey. LeafNode.verify() checked a leaf's signature against the signaturekey 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 signaturekey 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 signaturekey 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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.2
-
4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
C
H
U
0
-
C
H
U
9.2
-
4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Related Resources

No items found.

References

https://www.bouncycastle.org/download/bouncy-castle-java/, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71885.json, https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071885, https://nvd.nist.gov/vuln/detail/CVE-2026-71885, https://github.com/bcgit/bc-java/commit/77632a57edf350a7b5751fca1a5052daffa8dab2, https://github.com/bcgit/bc-java

Severity

0

CVSS Score
0
10

Basic Information

Base CVSS
0
EPSS Probability
0.00198%
EPSS Percentile
0.09685%
Introduced Version
0,1.78,1.79
Fix Available
77632a57edf350a7b5751fca1a5052daffa8dab2,1.86,0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading