{"id":"UBUNTU-CVE-2015-8557","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.","modified":"2026-02-04T04:36:49.574457Z","published":"2015-12-16T00:00:00Z","related":["USN-2862-1"],"upstream":["CVE-2015-8557"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-8557"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2015/12/14/6"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2862-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-8557"}],"affected":[{"package":{"name":"pygments","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/pygments@1.6+dfsg-1ubuntu1.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6+dfsg-1ubuntu1.1"}]}],"versions":["1.6+dfsg-1","1.6+dfsg-1build1","1.6+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-pygments","binary_version":"1.6+dfsg-1ubuntu1.1"},{"binary_name":"python3-pygments","binary_version":"1.6+dfsg-1ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-8557.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}