CVE-2026-63566

published 2 Oct 2026 · updated 2 Oct 2026

DTLS handshake reassembler allocates buffer from unchecked 24-bit length

8.7HighCVSS 8.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.7.0.

Memory allocation with excessive size value in the DTLS handshake reassembly (DtlsReliableHandshake, DtlsReassembler) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated DTLS peer to cause a denial of service through memory exhaustion via crafted handshake message fragments, because the reassembly buffer for each incoming handshake message was allocated at the 24-bit length declared in the fragment header, without the check against the peer's maximum handshake message size that TLS already applied. A fragment carrying no payload can force an allocation of almost 16 MB, for each of up to 16 pending messages per handshake, before the handshake is authenticated. DTLS servers and DTLS clients are both affected; TLS is not.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Legion of the Bouncy Castle<2.7.02.7.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-63566 severity on Zeptric[![CVE-2026-63566](https://zeptric.io/badge/cve/CVE-2026-63566.svg)](https://zeptric.io/cve/CVE-2026-63566)