Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

MLS membership checks compare a uint32 leaf_index as signed, admitting an out-of-range sender

CVSS 4.0 8.7 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2026-17507

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-17507

Published

bcmls

https://www.bouncycastle.org/download/bouncy-castle-java/

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Legion of the Bouncy Castle Inc.",
                    "product": "BC-JAVA",
                    "platforms": [
                        "all"
                    ],
                    "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java/",
                    "packageName": "bcmls",
                    "repo": "https://github.com/bcgit/bc-java",
                    "packageURL": "pkg:maven/org.bouncycastle/bcmls-jdk18on",
                    "modules": [
                        "mls"
                    ],
                    "programFiles": [
                        "GroupKeySet",
                        "Group"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "1.73",
                            "lessThan": "1.86",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 17 Nov 02:47 UTC · 274 of 275 readable · 250 fully read · 20 waiting for GitHub's hourly limit · documentation 469/469 current