Arbitrary Command Injection Affecting python-pygments package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
6.72% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-PYTHONPYGMENTS-9886409
  • published28 Apr 2025
  • disclosed28 Sept 2015

Introduced: 28 Sep 2015

CVE-2015-8557  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 python-pygments.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-pygments package and not the python-pygments package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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 Base Scores

version 3.1