CVE-2015-8557
highpriority · track · 38EPSS 0.067 · 94 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.2–9.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (14)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-fff8-4w9p-7v76Command Injection in Pygments2022-05-17ghsa · osvUS
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.
- PYSEC-2016-322016-01-08vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (25)
External citations — patches, advisories, analysis.
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.htmlcnnvd
- http://pygments.org/Patchcnnvd
- http://seclists.org/fulldisclosure/2015/Oct/4cnnvd
- http://www.openwall.com/lists/oss-security/2015/12/14/17cnnvd
- http://www.openwall.com/lists/oss-security/2015/12/14/6cnnvd
- http://www.ubuntu.com/usn/USN-2862-1cnnvd
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diffcnnvd
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan