CVE-2015-8557
publishedpython-pygments: Shell injection in FontManager._get_nix_font_path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | pygments | Advisory build | 2.0.1+dfsg-1.1+deb8u1 | DSA-3445-1 |
| Ubuntu | trusty | pygments | Advisory build | 1.6+dfsg-1ubuntu1.1 | USN-2862-1 |
| Debian | squeeze | pygments | Advisory build | 1.3.1+dfsg-1+deb6u11 | DLA-369-1 |
| Debian | wheezy | pygments | Advisory build | 1.5+dfsg-1+deb7u1 | DSA-3445-1 |
| Ubuntu | trusty | python-pygments | Advisory build | 1.6+dfsg-1ubuntu1.1 | USN-2862-1 |
| Ubuntu | trusty | python3-pygments | Advisory build | 1.6+dfsg-1ubuntu1.1 | USN-2862-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html
- 20151001 Shell Injection in Pygments FontManager._get_nix_font_path http://seclists.org/fulldisclosure/2015/Oct/4
- DSA-3445 http://www.debian.org/security/2016/dsa-3445
- [oss-security] 20151214 Re: CVE request: Shell Injection in Pygments FontManager._get_nix_font_path http://www.openwall.com/lists/oss-security/2015/12/14/17
- [oss-security] 20151214 CVE request: Shell Injection in Pygments FontManager._get_nix_font_path http://www.openwall.com/lists/oss-security/2015/12/14/6
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- USN-2862-1 http://www.ubuntu.com/usn/USN-2862-1
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff
- GLSA-201612-05 https://security.gentoo.org/glsa/201612-05
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d20693bd057ea1ee8181f06e2e2753ed9a8f598b29965007a038acb58e6d72c7
- Ingested
- 23 Sep 2026, 07:40:54 UTC
- Source record
- Official CVE record