Read the docs
TI-2015-07040 Aliases CVE-2015-8557GHSA-fff8-4w9p-7v76

The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2…

Priority MEDIUM 48CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 7 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.

Summary

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.

Why it matters now

EPSS 0.06718 93rd percentileScored 2026-11-07
Fix Partial Pygments (PyPI): 2.1Red Hat: 7 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Pygments (PyPI)1.2.2 to before 2.12.1Patch availableGHSA-fff8-4w9p-7v76
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Pygments (PyPI) Vendor— Affected 1.2.2 to before 2.1 Fixed in 2.1 Patch available GHSA-fff8-4w9p-7v76

CPE configurations NVD · 14

CPEVersionsRoleVendor
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*12.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*15.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*15.10VulnerableCanonical
cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:*1.2.2VulnerablePygments
cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:*1.3VulnerablePygments
cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:*1.3.1VulnerablePygments
cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:*1.4VulnerablePygments
cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:*1.5VulnerablePygments
cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:*1.6VulnerablePygments
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
  • cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:* Versions 1.2.2 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:* Versions 1.3 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:* Versions 1.3.1 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:* Versions 1.4 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:* Versions 1.5 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:* Versions 1.6 Vulnerable ·Pygments
Show 4 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:*1.6 rc1VulnerablePygments
cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:*2.0VulnerablePygments
cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:*2.0 rc1VulnerablePygments
cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:*2.0.1VulnerablePygments
  • cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:* Versions 1.6 rc1 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:* Versions 2.0 rc1 Vulnerable ·Pygments
  • cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:* Versions 2.0.1 Vulnerable ·Pygments

Remediation

  • Fix · GHSA-fff8-4w9p-7v76 Pygments (PyPI) Fixed in 2.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 1.2AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-8557
  2. 2026-10-03 Alias added: GHSA-fff8-4w9p-7v76

References

Sources