python-pygments: Shell injection in FontManager._get_nix_font_path
Published Jan 8, 2016
9.5
CRITICALCVSS 4.0
EPSS 6.72%
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.
Affected products
No data.
Configuration 1
- 12.04
- 14.04
- 15.04
- 15.10
Configuration 2
- 1.2.2
- 1.3
- 1.3.1
- 1.4
- 1.5
- 1.6
- 1.6
- 2.0
- 2.0
- 2.0.1
No data.
Red Hat Ceph Storage 1.2
python-pygments
Will not fix
Red Hat Enterprise Linux 6
python-pygments
Will not fix
Red Hat Enterprise Linux 7
python-pygments
Will not fix
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)
python-pygments
Will not fix
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)
python-pygments
Will not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)
python-pygments
Will not fix
Red Hat Software Collections
python27-python-pygments
Will not fix
Red Hat Software Collections
python33-python-pygments
Will not fix
Red Hat Software Collections
rh-python34-python-pygments
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 1.2 | python-pygments | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | python-pygments | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | python-pygments | Will not fix | n/a |
| Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) | python-pygments | Will not fix | n/a |
| Red Hat Enterprise Linux OpenStack Platform 6 (Juno) | python-pygments | Will not fix | n/a |
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) | python-pygments | Will not fix | n/a |
| Red Hat Software Collections | python27-python-pygments | Will not fix | n/a |
| Red Hat Software Collections | python33-python-pygments | Will not fix | n/a |
| Red Hat Software Collections | rh-python34-python-pygments | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.72% (0.06718) | 93.73th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.66% (0.06664) | 93.01th | v5 (v2026.06.15) |
| May 13, 2026 | 7.45% (0.07449) | 91.83th | v4 (v2025.03.14) |
| Apr 16, 2026 | 5.67% (0.05668) | 90.40th | v4 (v2025.03.14) |
| Dec 28, 2025 | 7.00% (0.06995) | 91.14th | v4 (v2025.03.14) |
| Dec 27, 2025 | 9.14% (0.09142) | 92.44th | v4 (v2025.03.14) |
| Oct 28, 2025 | 7.00% (0.06995) | 91.03th | v4 (v2025.03.14) |
| Oct 27, 2025 | 9.14% (0.09142) | 92.33th | v4 (v2025.03.14) |
| Oct 1, 2025 | 7.00% (0.06995) | 91.13th | v4 (v2025.03.14) |
| Mar 30, 2025 | 9.14% (0.09142) | 91.90th | v4 (v2025.03.14) |
| Mar 29, 2025 | 17.51% (0.17506) | 91.86th | v4 (v2025.03.14) |
| Mar 17, 2025 | 8.22% (0.08222) | 91.59th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.48% (0.01477) | 87.31th | v3 (v2023.03.01) |
| Aug 26, 2023 | 1.48% (0.01477) | 85.13th | v3 (v2023.03.01) |
| Apr 10, 2023 | 1.49% (0.01493) | 84.85th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.70% (0.01696) | 85.77th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.97% (0.01974) | 78.97th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.97% (0.01974) | 56.20th | v2 (v2022.01.01) |
References (16)
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html x_refsource_MISC
- http://seclists.org/fulldisclosure/2015/Oct/4 mailing-listx_refsource_FULLDISC
- http://www.debian.org/security/2016/dsa-3445 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2015/12/14/17 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2015/12/14/6 mailing-listx_refsource_MLIST
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html x_refsource_CONFIRM
- http://www.ubuntu.com/usn/USN-2862-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2015-8557 Vendor Advisory
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff x_refsource_MISCVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1276321 Issue Tracking
- https://github.com/advisories/GHSA-fff8-4w9p-7v76 Advisory
- https://github.com/pygments/pygments/commit/db6dd826f8624179e563aaded391efe824462f51
- https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2016-32.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2015-8557
- https://security.gentoo.org/glsa/201612-05 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2015-8557
Change history (0)
No recorded changes yet.