The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.
https://security.gentoo.org/glsa/201612-05
https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff
http://www.ubuntu.com/usn/USN-2862-1
http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
http://www.openwall.com/lists/oss-security/2015/12/14/6
http://www.openwall.com/lists/oss-security/2015/12/14/17
http://www.debian.org/security/2016/dsa-3445