CVE-2015-8557
python-pygments: Shell injection in FontManager._get_nix_font_path
Loading…
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · September 28, 2015
Updated · November 21, 2025
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 score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 5.1AV:N/AC:H/Au:N/C:P/I:P/A:P
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')