---
title: "CVE-2026-17507"
canonical_url: "https://pkgseek.com/security/CVE-2026-17507"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-17507

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…

CVE-2026-17507 is rated HIGH (7.5), with 7 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 7
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libbcjmail-java | 1.80-3 | — |
| Debian | trixie | libbcmail-java | 1.80-3 | — |
| Debian | trixie | libbcpg-java | 1.80-3 | — |
| Debian | trixie | libbcpkix-java | 1.80-3 | — |
| Debian | trixie | libbcprov-java | 1.80-3 | — |
| Debian | trixie | libbctls-java | 1.80-3 | — |
| Debian | trixie | libbcutil-java | 1.80-3 | — |
