{"schemaVersion":3,"id":"CVE-2026-63566","aliases":[],"status":"published","duplicateOf":null,"title":"DTLS handshake reassembler allocates buffer from unchecked 24-bit length","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.","dates":{"published":"2026-10-02T06:57:21.718Z","modified":"2026-10-02T18:08:57.485Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00371,"percentile":0.29864,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-02T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00371,"percentile":0.29864}],"last30":[{"date":"2026-10-02T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00371,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00371,"percentile":0.29864}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value","description":"The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/789.html"}],"affected":[{"vendor":"legion of the bouncy castle inc.","product":"bc-csharp","name":"bc-csharp","label":"bc-csharp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.0","eol":null,"hubHref":"/vendor/legion_of_the_bouncy_castle_inc/bc-csharp"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bcgit/bc-csharp/wiki/CVE-2026-63566","label":"github.com/bcgit/bc-csharp/wiki/CVE-2026-63566","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/bcgit/bc-csharp/commit/212d06474166d5e85be72c2dd4898313aa5dd5f3","label":"github.com/bcgit/bc-csharp/commit/212d06474166d5e85be72c2dd4898313aa5dd5f3","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/bcgit/bc-csharp/commit/99afef612458f70f28e7824a09719bfc3a169bda","label":"github.com/bcgit/bc-csharp/commit/99afef612458f70f28e7824a09719bfc3a169bda","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-02T06:57:21.718Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-02T18:08:57.485Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:43:30.137Z","stale":false,"partial":false}}