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.
Published: 2016-01-08
Score: 9.0 Critical
EPSS: 7.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-369-1 pygments security update
Debian DSA Debian DSA DSA-3445-1 pygments security update
EUVD EUVD EUVD-2016-0026 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.
Github GHSA Github GHSA GHSA-fff8-4w9p-7v76 Command Injection in Pygments
Ubuntu USN Ubuntu USN USN-2862-1 Pygments vulnerability
History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.09087}

epss

{'score': 0.09142}


Subscriptions

Canonical Ubuntu Linux
Pygments Pygments
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T08:20:43.361Z

Reserved: 2015-12-14T00:00:00.000Z

Link: CVE-2015-8557

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2016-01-08T20:59:02.233

Modified: 2026-05-06T22:30:45.220

Link: CVE-2015-8557

cve-icon Redhat

Severity : Moderate

Publid Date: 2015-09-28T00:00:00Z

Links: CVE-2015-8557 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses