ffjpeg is a simple implementation of jpeg encoding and decoding. ffjpeg 2020-06-22 and earlier versions of jfif.c:701 have a global buffer overflow vulnerability in jfif_encode. An attacker could exploit the vulnerability to cause a denial of service via a specially crafted jpeg file.