Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

pygments

PyPI package

Overview

Newest range
2.20.0
Last CVE
22 Mar 2026
PyPI 8 version ranges 7 affected
1 Critical
2 High
1 Medium
1 Low

Package versions

Version ranges and their known vulnerabilities
VersionsRangeDirect vulnerabilities
2.20.0 and later versions 0000
2.15.0 up to 2.20.0 0001
2.7.4 up to 2.15.0 0011
2.1 up to 2.7.4 0211
1.5 up to 2.1 1211
1.2.2 up to 1.5 1111
1.1 up to 1.2.2 0111
before 1.1 all earlier versions 0011

No known vulnerabilities in 2.20.0 and later versions

Nothing in our data affects this version.

8 ranges in total. Each row is a range of versions with the same vulnerabilities, newest first. The data names only the versions where something changes (first affected, fixed), so the versions in between are a range.

Vulnerabilities · 5

Known vulnerabilities of this package
CVESeverityPublishedVulnerableFixed in
CVE-2026-4539pygments: Pygments: Denial of Service via inefficient regular expression processing in AdlLexer LOW 22 Mar 2026 <2.20.0 2.20.0
CVE-2022-40896pygments: ReDoS in pygments MEDIUM 19 Jul 2023 <2.15.0 2.15.0
CVE-2021-20270python-pygments: Infinite loop in SML lexer may lead to DoS HIGH 23 Mar 2021 >=1.5, <2.7.4 2.7.4
CVE-2021-27291python-pygments: ReDoS in multiple lexers HIGH 17 Mar 2021 >=1.1, <2.7.4 2.7.4
CVE-2015-8557python-pygments: Shell injection in FontManager._get_nix_font_path CRITICAL 8 Jan 2016 >=1.2.2, <2.1 2.1

Seal Security (PyPI)

Seal Security ships a patched build of this package. Its fixed versions:

  • CVE-2026-4539: 2.11.2+sp999

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.