Skip to main content
EPSS 0.2%top 92%

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… (CVE-2026-71885)

0
Critical
Published: 10/03/2026 (10/03/2026, 09:31:18 UTC)
Source: GCVE Database

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.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
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

Affected software

org.bouncycastle/bcprov-jdk15on
pkg:maven/org.bouncycastle/bcprov-jdk15on
Affected versions
<1.86

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/10/2026, 19:00:44 UTC

Technical Analysis

In Bouncy Castle for Java before version 1.86, the MLS implementation did not enforce that the X.509 certificate's public key matches the LeafNode's signature_key as required by RFC 9420 section 5.3. The LeafNode.verify() method only checked the signature against the signature_key carried in the leaf, ignoring the certificate chain's public key. This flaw allows an attacker to present another party's certificate with an unrelated key and be accepted as that party's identity in the group. In deployments that allow external commits without independent credential admission checks, an unauthenticated attacker could be admitted under a victim's identity, evict the victim, derive the current epoch, decrypt group messages, and send messages accepted as the victim. The fix requires the LeafNode to reject leaves where the certificate's public key does not match the signature_key, including empty or mismatched certificate chains. Certificate chain validation remains the application's responsibility. Deployments using only basic credentials are unaffected.

Potential Impact

An unauthenticated attacker can impersonate another party's X.509 identity within an MLS group, potentially evicting the legitimate member, decrypting subsequent group messages, and injecting messages accepted as the victim. This compromises confidentiality, integrity, and authentication of group communications.

Mitigation Recommendations

Upgrade to Bouncy Castle for Java version 1.86 or later where the MLS implementation enforces binding between the X.509 certificate's public key and the LeafNode's signature_key. Until then, deployments should ensure independent credential admission checks are in place to prevent unauthorized external commits. Certificate chain and identity validation to trust anchors remain the application's responsibility as per RFC 9420 section 5.3.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-jch3-5j66-88vx
Osv Schema Version
1.4.0
Aliases
["CVE-2026-71885"]
Database Specific Severity
CRITICAL
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac1397ba43b0b3b89d63c78

Added to database: 10/03/2026, 17:20:59 UTC

Last enriched: 10/10/2026, 19:00:44 UTC

Last updated: 10/11/2026, 18:57:48 UTC

Views: 138

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses