CVE-2026-71885
Description
A flaw was found in Bouncy Castle. Its Messaging Layer Security (MLS) implementation, a protocol for secure group communications, fails to verify that an X.509 digital certificate matches the cryptographic key used for message signing. An unauthenticated remote attacker can exploit this vulnerability by presenting a legitimate user's certificate with an unrelated key to join a group under that victim's identity. This allows the attacker to evict the authentic participant, decrypt subsequent group communications, and send unauthorized messages as the victim.
Statement
This vulnerability is rated as having a Critical impact because an unauthenticated network attacker could impersonate group members, evict legitimate participants, and decrypt group traffic in affected Messaging Layer Security (MLS) sessions. Red Hat enterprise products do not utilize Bouncy Castle's MLS protocol implementation by default, substantially mitigating risk across standard deployments. Exploitation specifically requires an MLS architecture configured to admit external commits with X.509 credentials without independent validation; environments utilizing basic credentials or standard cryptographic services are unaffected.
Understanding the Weakness (CWE)
Integrity,Authentication
Technical Impact: Bypass Protection Mechanism; Gain Privileges or Assume Identity
When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The product might connect to a malicious host while believing it is a trusted host, or the product might be deceived into accepting spoofed data that appears to originate from a trusted host.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.