Security mailing lists by PureSourceCode

CVE-2015-8557

CRITICAL 9.0CVSS 3.0

Command Injection in Pygments

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.

Published
8 Jan 2016
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-fff8-4w9p-7v76PYSEC-2016-32
Sources
NVDJSONOSV GHSA-fff8-4w9p-7v76JSONOSV PYSEC-2016-32JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
= 12.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
= 15.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
= 15.10
NVD pygments pygments
cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:*
= 1.2.2
NVD pygments pygments
cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:*
= 1.3
NVD pygments pygments
cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:*
= 1.3.1
NVD pygments pygments
cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:*
= 1.4
NVD pygments pygments
cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:*
= 1.5
NVD pygments pygments
cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:*
= 1.6
NVD pygments pygments
cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:*
= 1.6
NVD pygments pygments
cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:*
= 2.0
NVD pygments pygments
cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:*
= 2.0
NVD pygments pygments
cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:*
= 2.0.1
OSV PyPI pygments >= 1.2.2, < 2.1 2.1

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 8 Jan 2016)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Jan 2016)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.