Pygments up to 2.0.2 Font Name formatters/ FontManager_get_nix_font_path os command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in Pygments up to 2.0.2. It has been declared as critical. This vulnerability affects the function FontManager_get_nix_font_path of the file formatters/ of the component Font Name Handler. The manipulation with an unknown input leads to a os command injection vulnerability. The CWE definition for the vulnerability is CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The FontManager._get_nix_font_path function in formatters/ in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.

The weakness was disclosed 01/08/2016 (Website). The advisory is shared for download at This vulnerability was named CVE-2015-8557 since 12/14/2015. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1202.

The vulnerability scanner Nessus provides a plugin with the ID 87379 (Amazon Linux AMI : python-pygments (ALAS-2015-630)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 124748 (Solaris 11.3 Support Repository Update (SRU) 5.6.0 Missing).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (87379). The entries 61278, 69583, 69582 and 22039 are pretty similar.




CPE 2.3info

CPE 2.2info


VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍


VulDB Meta Base Score: 9.0
VulDB Meta Temp Score: 8.8

VulDB Base Score: 9.0
VulDB Temp Score: 8.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.0
NVD Vector: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Os command injection
CWE: CWE-78 / CWE-74 / CWE-707
ATT&CK: T1202

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 87379
Nessus Name: Amazon Linux AMI : python-pygments (ALAS-2015-630)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703445
OpenVAS Name: Debian Security Advisory DSA 3445-1 (pygments - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍


12/14/2015 🔍
12/14/2015 +0 days 🔍
12/16/2015 +2 days 🔍
12/16/2015 +0 days 🔍
01/08/2016 +23 days 🔍
01/08/2016 +0 days 🔍
01/10/2016 +2 days 🔍
01/11/2016 +1 days 🔍
07/02/2022 +2364 days 🔍


Advisory: USN-2862-1
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-8557 (🔍)

Vulnerability Center: 55614 - Pygments 1.2.2 through 2.0.2 Remote Code Execution via Shell Metacharacters, Critical

See also: 🔍


Created: 01/10/2016 08:16 PM
Updated: 07/02/2022 05:44 PM
Changes: 01/10/2016 08:16 PM (61), 06/20/2018 08:51 AM (19), 07/02/2022 05:44 PM (3)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!