CVE & CISA-KEV Catalog

CVE-2026-17507

HIGH
8.7
CVSS v4
NVD

Description

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.

How to fix

Remediation Available
bouncycastleDebian
Fixed in:1.86-1CVE-2026-17507

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v4 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone

Impact

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber

Exploit Intelligence

0.32%probability of exploitation in 30 days
23rdpercentile

Low risk: more likely to be exploited than 23% of all known CVEs.

References

Other references2

Related Vulnerabilities

Other CWE-195 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-43663High8.114%--
CVE-2020-6096High8.15.4%-Fix
CVE-2011-3045High8.83.6%-Fix
CVE-2016-6560High8.61.7%--
CVE-2023-3635Medium5.91.3%-Fix
CVE-2020-1913High8.11.2%--

Common questions

How do I fix CVE-2026-17507?

Upgrade bouncycastle on debian unstable to 1.86-1 or later.

Is CVE-2026-17507 being actively exploited?

Not that we know of. CVE-2026-17507 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.32% is the estimated probability that it will be exploited in the next 30 days. That is higher than 23% of all scored CVEs.

How severe is CVE-2026-17507?

CVE-2026-17507 has a CVSS v4 base score of 8.7, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-17507 affect?

Published advisories record a fix for bouncycastle (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-17507
CVE-2026-17507 severity badge

Markdown

[![CVE-2026-17507](https://tridentstack.com/cve/badge/CVE-2026-17507.svg)](https://tridentstack.com/cve/CVE-2026-17507)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-17507"><img src="https://tridentstack.com/cve/badge/CVE-2026-17507.svg" alt="CVE-2026-17507"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-10-02.