LibreOffice before 2016-12-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the EnhWMFReader::ReadEnhWMF function in vcl/source/filter/wmf/enhwmf.cxx.
https://security.gentoo.org/glsa/201706-28
https://github.com/LibreOffice/core/commit/7485fc2a1484f31631f62f97e5c64c0ae74c6416
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=313
http://www.securityfocus.com/bid/97668
http://www.libreoffice.org/about-us/security/advisories/cve-2016-10327/