PatchSiren cyber security CVE debrief
CVE-2026-63566 Legion of the Bouncy Castle Inc. CVE debrief
A memory allocation vulnerability in the DTLS handshake reassembly process of the Bouncycastle bc-csharp library before version 2.7.0 can allow a remote unauthenticated DTLS peer to cause a denial of service through memory exhaustion. The vulnerability arises from the reassembly buffer for each incoming handshake message being 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. This can lead to significant memory allocation, with a crafted handshake message fragment potentially forcing an allocation of almost 16 MB for each of up to 16 pending messages per handshake, before the
- Vendor
- Legion of the Bouncy Castle Inc.
- Product
- bc-csharp
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-02
- Original CVE updated
- 2026-10-27
- Advisory published
- 2026-10-02
- Advisory updated
- 2026-10-27
Who should care
Defenders responsible for DTLS servers and clients using the Bouncycastle bc-csharp library should assess exposure and prioritize patching or mitigation to prevent potential memory exhaustion attacks.
Why it matters
The vulnerability in the Bouncycastle bc-csharp library can allow a remote unauthenticated DTLS peer to cause a denial of service through memory exhaustion. Defenders responsible for DTLS servers and clients should assess exposure and prioritize patching or mitigation to prevent potential memory exhaustion attacks.
- Denial of service through memory exhaustion
- Potential for significant memory allocation and exhaustion
- Need for patching or mitigation to prevent attacks
- Verification of DTLS server and client configurations required
Technical summary
The Bouncycastle bc-csharp library before version 2.7.0 has a vulnerability in the DTLS handshake reassembly process. 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. This allows a remote unauthenticated DTLS peer to cause a denial of service through memory exhaustion via crafted handshake message fragments.
Defensive priority
Defenders should prioritize patching or mitigating this vulnerability, especially for DTLS servers and clients, to prevent potential memory exhaustion attacks.
Recommended defensive actions
- Patch or upgrade bc-csharp to version 2.7.0 or later
- Implement rate limiting or monitoring for DTLS handshake messages
- Consider using compensating controls such as IP blocking or traffic filtering
- Review and update DTLS server and client configurations to ensure secure settings
- Verify and enforce secure DTLS handshake message handling
- Conduct regular security audits to identify potential vulnerabilities
- Monitor system resources for signs of memory exhaustion attacks
Evidence notes
The vulnerability is caused by the excessive size of memory allocation in the DTLS handshake reassembly process. A crafted handshake message fragment can force an allocation of almost 16 MB for each of up to 16 pending messages per handshake, before the handshake is authenticated.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-63566 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-63566
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-63566 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-63566
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/bcgit/bc-csharp/commit/212d06474166d5e85be72c2dd4898313aa5dd5f3
91579145-5d7b-4cc5-b925-a0262ff19630 - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/bcgit/bc-csharp/commit/99afef612458f70f28e7824a09719bfc3a169bda
91579145-5d7b-4cc5-b925-a0262ff19630 - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63566
91579145-5d7b-4cc5-b925-a0262ff19630 - Patch, Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.