Live threats

All CVEs / Canonical

CVE-2015-8557Canonical Ubuntu Linux

Critical 9.0 No auth needed

Priority
70
CVSS 3.0
9.0
EPSS
6.7%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Jan 8, 2016
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-78
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ubuntu Linux.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pygments ≥ 1.2.2 < 2.1 2.1 pip install "pygments>=2.1"
PyPI pygments ≥ 1.2.2 < 2.1 2.1 pip install "pygments>=2.1"

Per OSV / GitHub Advisories (GHSA-fff8-4w9p-7v76, PYSEC-2016-32). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux15.04
canonicalubuntu_linux15.10
pygmentspygments1.2.2
pygmentspygments1.3
pygmentspygments1.3.1
pygmentspygments1.4
pygmentspygments1.5
pygmentspygments1.6
pygmentspygments1.6
pygmentspygments2.0
pygmentspygments2.0
pygmentspygments2.0.1

Official sources

References

Links published by the sources. Open them with care.