FFmpeg is a set of open source computer programs that can be used to record, convert digital audio and video, and convert them to streams under the LGPL or GPL license. mpeg_mux_write_packet function in libavformat/mpegenc.c in FFmpeg version 4.2 suffers from a heap-release post-reuse vulnerability. An attacker could exploit the vulnerability to cause a denial of service via a specially crafted avi file.