ADVISORIES

Vulnerability

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.

8 advisories report this vulnerability, across 4 ecosystems.

Critical severity All Debian 3PyPI 2Ubuntu 2Red Hat 1

Advisories

  • DEBIAN-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.

    CVE-2015-8557 Debian Updated 9 September 2026
  • DLA-369-1

    pygments - security update

    CVE-2015-8557 Debian Updated 20 November 2026
  • DSA-3445-1

    pygments - security update

    CVE-2015-8557 Debian Updated 20 November 2026
  • GHSA-fff8-4w9p-7v76

    Command Injection in Pygments

    Critical CVE-2015-8557 PyPI Updated 24 October 2024
  • PYSEC-2016-32

    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.

    CVE-2015-8557 PyPI Updated 8 November 2023
  • RHVEX-CVE-2015-8557

    python-pygments: Shell injection in FontManager._get_nix_font_path

    Moderate CVE-2015-8557 Red Hat Updated 5 November 2026
  • UBUNTU-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.

    CVE-2015-8557 Ubuntu Updated 4 February 2026
  • USN-2862-1

    pygments vulnerability

    CVE-2015-8557 Ubuntu Updated 10 February 2026

References