Read the docs
TI-2026-65841 Aliases CVE-2026-63566GHSA-496x-2f25-59fj

DTLS handshake reassembler allocates buffer from unchecked 24-bit length

Priority MEDIUM 44CWE-789Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-789.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00432 37th percentileScored 2026-11-07
Fix Fixed bc-csharp (Legion of the Bouncy Castle Inc.): 2.7.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Legion of the Bouncy Castle Inc.bc-csharpbefore 2.7.02.7.0Patch availableCNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*before 2.7.0VulnerableLegion of the Bouncy Castle Inc.

Remediation

  • Fix · CNA bc-csharp (Legion of the Bouncy Castle Inc.) Fixed in 2.7.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Legion of the Bouncy Castle bc-csharp 2.7.0

    21 records Highest priority Priority MEDIUM 8 MEDIUM, 13 LOW

    Other records, highest priority first

    • TI-2026-65844 MTI/A0 DHAgreement does not validate the peer's ephemeral valuePriority MEDIUM 47
    • TI-2026-66020 Unbounded HSS public key level count allows huge array allocation during signature verificationPriority MEDIUM 44
    • TI-2026-66017 Unbounded ASN.1 nesting depth causes process-terminating stack overflowPriority MEDIUM 44

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-63566
  2. 2026-10-03 Alias added: GHSA-496x-2f25-59fj
  3. 2026-10-27 CVSS score added · NVD

References

  • TI-2026-65844 MTI/A0 DHAgreement does not validate the peer's ephemeral value CVSS 4.0CRITICAL 9.1
  • TI-2026-66020 Unbounded HSS public key level count allows huge array allocation during signature verification CVSS 4.0HIGH 8.7
  • TI-2026-66017 Unbounded ASN.1 nesting depth causes process-terminating stack overflow CVSS 4.0HIGH 8.7
  • TI-2026-65849 Unbounded allocation from OpenPGP signature and user attribute subpacket lengths CVSS 4.0HIGH 8.7
  • TI-2026-65843 Unbounded CMP/CRMF password-based MAC iteration count allows CPU exhaustion CVSS 4.0HIGH 8.7
  • TI-2026-65846 Attribute certificate path validation does not verify the attribute certificate's signature CVSS 4.0HIGH 8.7
See all 21 →

Sources