{"id":"CVE-2015-8557","aliases":["GHSA-fff8-4w9p-7v76","PYSEC-2016-32"],"url":"https://o3.security/vulnerability/CVE-2015-8557","summary":"Command Injection in Pygments","details":"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.","published":"2016-01-08T20:59:02Z","modified":"2026-04-16T06:25:53.480704775Z","cvss":{"score":9,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pygments","fixedVersion":"2.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3445"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2862-1"},{"type":"ADVISORY","url":"https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201612-05"},{"type":"WEB","url":"http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2015/Oct/4"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/12/14/17"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/12/14/6"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T06:25:53.480704775Z"}}