CVE-2015-8557

Summary

CVECVE-2015-8557
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-01-08 20:59:02 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 9 CRITICAL from [email protected]

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Problem Types: CWE-78 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary9CRITICALCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
2.0[email protected]Primary9.3AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Application Pygments Pygments 1.2.2 All All All
Application Pygments Pygments 1.3 All All All
Application Pygments Pygments 1.3.1 All All All
Application Pygments Pygments 1.4 All All All
Application Pygments Pygments 1.5 All All All
Application Pygments Pygments 1.6 All All All
Application Pygments Pygments 1.6 rc1 All All
Application Pygments Pygments 2.0 All All All
Application Pygments Pygments 2.0 rc1 All All
Application Pygments Pygments 2.0.1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Full Disclosure: Shell Injection in Pygments FontManager._get_nix_font_path af854a3a-2127-422b-91ae-364da2661108 seclists.org
Pygments FontManager._get_nix_font_path Shell Injection ≈ Packet Storm af854a3a-2127-422b-91ae-364da2661108 packetstormsecurity.com
oss-security - Re: CVE request: Shell Injection in Pygments FontManager._get_nix_font_path af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
birkenfeld / pygments-main / Pull request #501: Fix Shell Injection in FontManager._get_nix_font_path — Bitbucket af854a3a-2127-422b-91ae-364da2661108 bitbucket.org Vendor Advisory
oss-security - CVE request: Shell Injection in Pygments FontManager._get_nix_font_path af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Oracle Solaris Bulletin - January 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Debian -- Security Information -- DSA-3445-1 pygments af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Pygments: Arbitrary code execution (GLSA 201612-05) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
USN-2862-1: Pygments vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 671273 EulerOS Security Update for python-pygments (EulerOS-SA-2022-1185)
  • 673440 EulerOS Security Update for python-pygments (EulerOS-SA-2024-1162)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report