A flaw was found in the implementation of the `EbmlString::ReadData` and `EbmlUnicodeString::ReadData` functions in libebml, which can cause a heap overflow error. This issue is related to writing beyond buffer boundaries. Exploitation of this flaw may allow a remote attacker to cause a denial of service.