Back to Database
Status published
Critical
CVE-2015-8557
The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2...
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2015-8557
Credits & Attribution
No credits recorded in the NVD database.
References
- http://www.ubuntu.com/usn/USN-2862-1
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html
- http://www.openwall.com/lists/oss-security/2015/12/14/6
- http://www.openwall.com/lists/oss-security/2015/12/14/17
- http://seclists.org/fulldisclosure/2015/Oct/4
- http://www.debian.org/security/2016/dsa-3445
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- https://security.gentoo.org/glsa/201612-05
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff
More from canonical
View All →CVE-2025-31479
canonical/get-workflow-version-action can leak a partial GITHUB_TOKEN in exception output
High
8.2
CVE-2025-24375
MySQL K8s charm could leak credentials for root-level user `serverconfig`
Medium
5
CVE-2024-41129
The ops library leaks secrets if `subprocess.CalledProcessError` happens with a `secret-*` CLI command
Medium
4.4
CVE-2020-8632
In cloud-init through 19.4, rand_user_password in cloudinit/config/cc_set_passwords.py has a small...
Medium
5.5
CVE-2020-8631
cloud-init through 19.4 relies on Mersenne Twister for a random...
Medium
5.5
Affected Vendor
canonical
View all reports →Affected Software
ubuntu linux, pygments
Vulnerable Versions:
12.04, 14.04, 15.04, 15.10, 1.2.2, 1.3, 1.3.1, 1.4, 1.5, 1.6, 2.0, 2.0.1
Timeline
Official Publish:
January 8th, 2016
Last Modified:
August 6th, 2024
Added to House:
July 19th, 2026
CVSS Vectors
V3:
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.