In libebml before 1.4.5, an integer overflow in MemIOCallback.cpp can occur when reading or writing. It may result in buffer overflows.
https://github.com/Matroska-Org/libebml/pull/148
https://github.com/Matroska-Org/libebml/issues/147
https://github.com/Matroska-Org/libebml/compare/release-1.4.4...release-1.4.5