RCE in Pygments

CVE-2015-8557

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.067 (93.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2015-8557?
CVE-2015-8557 is a critical-severity vulnerability in Pygments, classified under OS Command Injection. CVSS score: 9.0/10. Published 2016-01-08.
How severe is CVE-2015-8557?
Critical severity. CVSS v3 base score is 9.0 out of 10.