Processing crafted out-of-sequence DTLS handshake fragments can cause the system to allocate a full message-length reassembly buffer for each buffered message. This occurs because when the first fragment of a new message arrives, the system allocates a buffer based on the full message length declared in the fragment header rather than the actual bytes received. This declared length is capped by the maximum certificate list size, which is 128KB by default, and applies to all handshake message types.
A remote attacker can send small fragments that declare a large message length but contain minimal data, using up to ten distinct message sequence numbers. This allows a single connection to hold approximately 1.4MB of buffers from only 156 bytes of wire data. Consequently, a large number of connections or peers could lead to memory exhaustion and a Denial of Service. This issue only affects DTLS endpoints; TLS, QUIC, and applications not using DTLS are not impacted.