An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.
https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516
https://lists.debian.org/debian-lts-announce/2018/02/msg00019.html