CVEfocus › CVE database › CVE-2026-71885

CVE-2026-71885MLS X.509 credential not bound to the LeafNode signature key

CVSS 9.2 CriticalEPSS 0.2% (higher than 9% of CVEs)Published 2026-10-03Updated 2026-10-05Assigner: bcorg

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.

CWE-287CWE-295

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
8Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10bouncycastleFix pendingUBUNTU-CVE-2026-71885
Ubuntu 26.04bouncycastleUnder investigationUBUNTU-CVE-2026-71885
Ubuntu 24.04bouncycastleFix pendingUBUNTU-CVE-2026-71885
Ubuntu 22.04bouncycastleFix pendingUBUNTU-CVE-2026-71885
Ubuntu 20.04bouncycastleFix pendingUBUNTU-CVE-2026-71885
Ubuntu 18.04bouncycastleFix pendingUBUNTU-CVE-2026-71885
Ubuntu 16.04bouncycastleFix pendingUBUNTU-CVE-2026-71885
Debian 14bouncycastleFixed1.86-1DEBIAN-CVE-2026-71885
Debian 13bouncycastleFix pendingDEBIAN-CVE-2026-71885
Debian 12bouncycastleFix pendingDEBIAN-CVE-2026-71885

What the vendor says

As published in the CVE record by bcorg, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.