High severity · published Oct 2, 2026
CVE-2026-63566
DTLS handshake reassembler allocates buffer from unchecked 24-bit length
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 31% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BC
bc-csharp · Legion of the Bouncy Castle Inc.
before 2.7.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-63566
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-63566
vendor-advisory
https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63566
patch
https://github.com/bcgit/bc-csharp/commit/212d06474166d5e85be72c2dd4898313aa5dd5f3
patch
https://github.com/bcgit/bc-csharp/commit/99afef612458f70f28e7824a09719bfc3a169bda
More from bc-csharp
9.1
CVE-2026-63569
MTI/A0 DHAgreement does not validate the peer's ephemeral value
8.7
CVE-2026-103604
Quadratic-time escaping when converting X.509 distinguished names to strings
8.7
CVE-2026-103603
Unbounded HSS public key level count allows huge array allocation during signature verification
8.7
CVE-2026-103600
Unbounded ASN.1 nesting depth causes process-terminating stack overflow
8.7
CVE-2026-63574
Unbounded allocation from OpenPGP signature and user attribute subpacket lengths
