CVE-2026-63566 DTLS handshake reassembler allocates buffer from unchecked 24-bit length

High 8.7 Published Updated

Remote attackers can cause denial of service via memory exhaustion in DTLS handshake reassembly by sending crafted fragments with unchecked length values.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-63566?

CVE-2026-63566 is a high-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. bc-csharp, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-789

Which versions are affected by CVE-2026-63566?

It affects 1 product.

Products include Bouncycastle Bc-Csharp.

How do I fix CVE-2026-63566?

No fix has been published for CVE-2026-63566 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-63566 being exploited?

There is no known exploitation of CVE-2026-63566 in the wild and no public exploit code.

Sources

Also known as GHSA-496x-2f25-59fj.

Is CVE-2026-63566 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free