There is a heap-based buffer overflow in the function hpel_motion in mpegvideo_motion.c in libav 12.1. A crafted input can lead to a remote denial of service attack. https://nvd.nist.gov/vuln/detail/CVE-2017-9987