
CVE catalog
CVE-2015-8557
pygments: CVE-2015-8557
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 6.72% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pygments | sid | 2.20.0+dfsg-2 | fixed |
| Debian | pygments | forky | 2.20.0+dfsg-2 | fixed |
| Debian | pygments | trixie | 2.18.0+dfsg-2 | fixed |
| Debian | pygments | bookworm | 2.14.0+dfsg-1 | fixed |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1 | vulnerable |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1build1 | vulnerable |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1ubuntu1.1 | fixed |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1 | vulnerable |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1build1 | vulnerable |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | pygments | 14.04 | 1.6+dfsg-1ubuntu1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pygments | source | sid | 2.0.1+dfsg-2 | not yet assigned | Not reported | [802828] |
| Debian | pygments | source | forky | 2.0.1+dfsg-2 | not yet assigned | Not reported | [802828] |
| Debian | pygments | source | trixie | 2.0.1+dfsg-2 | not yet assigned | Not reported | [802828] |
| Debian | pygments | source | bookworm | 2.0.1+dfsg-2 | not yet assigned | Not reported | [802828] |
| Ubuntu | pygments | deb | 14.04 | 1.6+dfsg-1ubuntu1.1 | Not reported | USN-2862-1 | Not reported |
| Ubuntu | pygments | deb | 14.04 | 1.6+dfsg-1ubuntu1.1 | Not reported | UBUNTU-CVE-2015-8557 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pygments]Fixed
Source package: [pygments]
Details (2)
2.14.0+dfsg-1· all · bookwormFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · bookworm; dsa · pygments · debian · 12
2.14.0+dfsg-1· all · bookwormFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · bookworm; dsa · pygments · debian · 12
- [python-pygments-doc]Fixed
Source package: [pygments]
Details (2)
2.14.0+dfsg-1· all · bookwormFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · bookworm; dsa · pygments · debian · 12
2.14.0+dfsg-1· all · bookwormFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · bookworm; dsa · pygments · debian · 12
[Debian 13 (Trixie)]
- [python3-pygments]Fixed
Source package: [pygments]
Details (2)
2.18.0+dfsg-2· all · trixieFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · 13
2.18.0+dfsg-2· all · trixieFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · 13
- [python-pygments-doc]Fixed
Source package: [pygments]
Details (2)
2.18.0+dfsg-2· all · trixieFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · 13
2.18.0+dfsg-2· all · trixieFixed · Fixed:
2.0.1+dfsg-2dsa · pygments · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2015-8557]
- [https://osv.dev/vulnerability/DLA-369-1]
- [https://osv.dev/vulnerability/DSA-3445-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2015-8557]
- [https://osv.dev/vulnerability/USN-2862-1]
- [https://security-tracker.debian.org/tracker/CVE-2015-8557]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]