CVE-2026-17507

High 7.5 P4 · Monitor (12/100)

In Bouncy Castle for Java before 1.86, the MLS implementation (org.bouncycastle.mls) holds RFC 9420's uint32 leaf_index in a signed int, so…

Published: 02.10.2026 · Last updated: 30.11.2026 08:19 UTC · Revision 1 · Sources: FIRST Exploit Prediction Scoring System (EPSS), NIST National Vulnerability Database (NVD)

Confirmed facts from the sources

CVSS
7.5 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by nvd@nist.gov
Exploitation confirmed
Not in the CISA KEV catalog
Exploitation estimated (EPSS)
0.49 % · percentile 34.7 % (as of 29.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation.
Public exploit
No reference to a public exploit.
Fix
Fix available
Monitored technologies
No monitored technology

Description (source)

In Bouncy Castle for Java before 1.86, the MLS implementation (org.bouncycastle.mls) holds RFC 9420's uint32 leaf_index in a signed int, so a wire value with the top bit set decodes to a negative number. That is a legitimate encoding rather than malformed input, and it must still decode, since the MLS interop test vectors round-trip the full range. GroupKeySet.SecretTree.hasLeaf and Group.validateRemove compared the decoded value directly against the tree's leaf count, and a signed comparison treats any negative int as less than a positive bound, so an out-of-range sender passed the membership check. In the hasLeaf case the SenderData of an unprotected PrivateMessage could then drive LeafIndex.directPath through NodeIndex.parent() arithmetic that never reaches the tree root, growing the resulting node list without bound until the JVM exhausted its heap. A single small message from any current group member could therefore deny service to every other member of the group. Both comparisons now interpret the value as unsigned via Integer.toUnsignedLong, rejecting an out-of-range sender however it was encoded; well-formed leaf indices are unaffected.

Affected products and versions

Vendor / productAffected versionsFixed inSource
maven: org.bouncycastle/bcmls-jdk18on>= 1.73, < 1.86—nvd
bouncycastle bc-java>= 1.73, < 1.86—nvd

Versions as published. “Fixed in” only where a source names the version explicitly.

Recommended mitigation

Vendor patches and guidance

In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.

AI interpretation

No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.

Why this priority?: P4 · Monitor (12/100)

  • Estimated exploitation probability 0.49 % (EPSS, percentile 34.7 %) – an estimate, not confirmation (+0)
  • Technical severity: CVSS 7.5 (HIGH) – on its own not a reason for top priority (+12)
  • Fix available – plan the update (+0)

Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.

Original advisories and links