{"cve":"CVE-2015-8557","nvd":{"published":"2016-01-08T20:59:02.233","modified":"2026-06-17T00:34:46.240","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-78"],"references":["http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html","http://seclists.org/fulldisclosure/2015/Oct/4","http://www.debian.org/security/2016/dsa-3445","http://www.openwall.com/lists/oss-security/2015/12/14/17","http://www.openwall.com/lists/oss-security/2015/12/14/6"],"products":["canonical:ubuntu_linux","pygments:pygments"],"source":"nvd","synced_at":"2026-10-19T20:37:48.328043465+00:00"},"epss":{"cve":"CVE-2015-8557","score":0.06718,"percentile":0.93927,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fff8-4w9p-7v76","url":"https://osv.dev/vulnerability/GHSA-fff8-4w9p-7v76","summary":"Command Injection in Pygments","modified":"2024-10-24T22:26:14.588075Z","packages":[{"ecosystem":"PyPI","name":"pygments","purl":"pkg:pypi/pygments","ranges":[">=1.2.2 <2.1"],"fixed":["2.1"]}]},{"id":"PYSEC-2016-32","url":"https://osv.dev/vulnerability/PYSEC-2016-32","summary":"","modified":"2023-11-08T03:58:02.518743Z","packages":[{"ecosystem":"PyPI","name":"pygments","purl":"pkg:pypi/pygments","ranges":[">=1.2.2 <2.1"],"fixed":["2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}