A heap-based buffer overflow exists in the C++ `THeaderTransport` component. When the ZLIB transform is enabled for sent frames, the `transform()` function copies the compressed frame into the write buffer without verifying if the data fits. Because certain data types grow during compression, the process can write beyond the heap buffer boundaries. For large frames, this can also result in reading past the end of the transform buffer.