Back
CVE-2015-8557
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…
Critical9.0EPSS 6.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 6.7% · top 6.1% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.0.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIPygmentsGHSA-fff8-4w9p-7v76 (opens in a new tab)
References (9)
- USN-2862-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20151214 CVE request: Shell Injection in Pygments FontManager._get_nix_font_path (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20151214 Re: CVE request: Shell Injection in Pygments FontManager._get_nix_font_path (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20151001 Shell Injection in Pygments FontManager._get_nix_font_path (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- DSA-3445 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201612-05 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fff8-4w9p-7v76 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-8557)Record last updated .