Search/CVE-2026-17507
● CVE

CVE-2026-17507

DiscoveredOct 2, 2026UpdatedOct 2, 2026

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…

CVSS v3.1
—
EPSS
0.34%
probability of exploitation in 30 days
CISA KEV
Not listed
no confirmed exploitation reported
News coverage
0
sources referencing this CVE
Related IOCs
0
seen in the same coverage
EPSS Trend
Oct 3, 2026 → Oct 22, 2026
▲ 0.02pp
0.32% → 0.34% over 2 tracked changes
Connections
1 relationships
Timeline
disclosure → media coverage
Oct 2, 2026
Disclosure — published as a CVE record.