CVE-2015-8557Canonical Ubuntu Linux
Critical 9.0 No auth needed
Follow: this CVE · Canonical · Canonical Ubuntu Linux We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ubuntu Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 15.04 |
| canonical | ubuntu_linux | 15.10 |
| pygments | pygments | 1.2.2 |
| pygments | pygments | 1.3 |
| pygments | pygments | 1.3.1 |
| pygments | pygments | 1.4 |
| pygments | pygments | 1.5 |
| pygments | pygments | 1.6 |
| pygments | pygments | 1.6 |
| pygments | pygments | 2.0 |
| pygments | pygments | 2.0 |
| pygments | pygments | 2.0.1 |
Official sources
References
Links published by the sources. Open them with care.