Improper Certificate Validation Affecting org.bouncycastle:bcmls-jdk18on package, versions [,1.86)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGBOUNCYCASTLE-20416734
  • published4 Oct 2026
  • disclosed3 Oct 2026
  • creditJoshua Rogers, Khaled Suliman

Introduced: 3 Oct 2026

NewCVE-2026-71885  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade org.bouncycastle:bcmls-jdk18on to version 1.86 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in LeafNode.verify() in org.bouncycastle.mls.codec, which never checks that the subject public key of the X.509 credential's end entity certificate matches the leaf's signature_key field, although RFC 9420 section 5.3 requires the two to represent the same identity. An attacker can be admitted to an MLS group under a victim's X.509 identity and decrypt the group messages that follow, by presenting the victim's certificate as their credential while signing the leaf with an unrelated key they control. This affects applications using the MLS implementation, with no second check available, since both KeyPackage.verify() and the Group leaf validation path authenticate through that same method, and validating the certificate chain to a trust anchor is a separate concern that the application handles and that does not establish this binding.

CVSS Base Scores

version 4.0
version 3.1