CVE-2026-17507
Last modified
CVE-2026-17507 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Bouncycastle | Bc-Java | >= 1.73, < 1.86 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-17507?
How severe is CVE-2026-17507?
How do I fix CVE-2026-17507?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-17501A flaw has been found in ggml-org llama.cpp e15efe0. This vu…5.3
- CVE-2026-17502IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote attacker t…7.5
- CVE-2026-17503IBM PowerVM Hypervisor FW1120.00 through FW1120.01, FW1110.0…5.1
- CVE-2026-17504IBM PowerVM Hypervisor FW1120.00 through FW1120.01, FW1110.0…4.4
- CVE-2026-17505The Translate Multilingual sites – TranslatePress plugin for…6.1
- CVE-2026-17506The Independent Analytics plugin for WordPress is vulnerable…7.2
- CVE-2026-17508In Bouncy Castle for Java before 1.86, several password-base…5.3
- CVE-2026-17509The WPML Multilingual CMS plugin for WordPress is vulnerable…6.5
- CVE-2026-1751A vulnerability has been discovered in GitLab CE/EE affectin…3.1
- CVE-2026-17510Crypt::OpenSSL::PKCS12 versions before 1.98 for Perl allow a…7.5
- CVE-2026-17511IBM PowerVM Hypervisor FW1120.00 through FW1120.01, FW1110.0…3.4
- CVE-2026-17512A vulnerability has been found in ggml-org whisper.cpp 1.8.4…3.3
Are you affected by CVE-2026-17507?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
