In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade python2-backportsUpgrade python2-idnaUpgrade python-virtualenv-docUpgrade python2-coverageUpgrade python3-PyMySQLUpgrade python-sqlalchemy-docUpgrade python2-numpy-docUpgrade python3-virtualenvUpgrade python3-pymongo-gridfsUpgrade python2-numpyUpgrade python36-rpm-macrosUpgrade python2-CythonUpgrade python2-sqlalchemyUpgrade python2-funcsigsUpgrade python2-virtualenvUpgrade python2-setuptools_scmUpgrade python2-babelUpgrade python3-bsonUpgrade python2-jinja2Upgrade python2-PyMySQLUpgrade python2-pyUpgrade python2-docs-infoUpgrade python2-markupsafeUpgrade python-pymongo-docUpgrade python3-sqlalchemyUpgrade python3-pygmentsUpgrade python36Upgrade python2-docutilsUpgrade python2-requestsUpgrade python2-setuptoolsUpgrade python3-docutilsUpgrade python2-ipaddressUpgrade python2-scipyUpgrade python2-pytzUpgrade python2-pytest-mockUpgrade python2-pluggyUpgrade python3-wheel-wheelUpgrade babelUpgrade python2-docsUpgrade python36-debugUpgrade python3-docsUpgrade resource-agents-pafUpgrade python2-pymongo-gridfsUpgrade python-nose-docsUpgrade python2-psycopg2Upgrade python2-psycopg2-testsUpgrade python2-pygmentsUpgrade python2-noseUpgrade resource-agents-aliyunUpgrade python2-numpy-f2pyUpgrade python2-pymongoUpgrade python2-attrsUpgrade resource-agentsUpgrade python2-mockUpgrade resource-agents-gcpUpgrade python3-distroUpgrade python2-pytestUpgrade python2-wheelUpgrade python2-urllib3Upgrade python2-backports-ssl_match_hostnameUpgrade python2-rpm-macrosUpgrade python2-pysocksUpgrade python3-pymongoUpgrade python2-bsonUpgrade python2-pyyamlUpgrade python2-setuptools-wheelUpgrade python3-scipyUpgrade python2-chardetUpgrade python2-wheel-wheelUpgrade python36-develUpgrade python3-wheelUpgrade python2-sixUpgrade python-psycopg2-docUpgrade python2-dnsUpgrade python2-psycopg2-debugUpgrade python3-nose | May 4, 2022 | Mar 17, 2021 |
| Alpine Linux | — | Upgrade py3-pygments | Oct 1, 2024 | Mar 17, 2021 |
| Amazon Linux Ami 2 | — | Upgrade python3-pygmentsUpgrade python-pygmentsUpgrade python3-pygments-doc | Jul 21, 2023 | Mar 17, 2021 |
| Centos_linux | — | Upgrade python2-dnsUpgrade python-sqlalchemy-docUpgrade python2-backports-ssl_match_hostnameUpgrade python2-setuptools_scmUpgrade python3-pymongo-gridfsUpgrade python3-scipyUpgrade python3-bsonUpgrade python3-scipy-debuginfoUpgrade python2-pygmentsUpgrade python2-pymongoUpgrade resource-agentsUpgrade python-pymongo-debugsourceUpgrade python2-bsonUpgrade python3-pymongo-debuginfoUpgrade python2-wheelUpgrade python2-tkinterUpgrade python2-requestsUpgrade python2-setuptoolsUpgrade python2-pyyamlUpgrade python3-pygmentsUpgrade python2-virtualenvUpgrade python2-numpy-f2pyUpgrade resource-agents-debuginfoUpgrade python2-funcsigsUpgrade python2-psycopg2-testsUpgrade python2-scipy-debuginfoUpgrade python2-psycopg2-debuginfoUpgrade python2-pluggyUpgrade python2-rpm-macrosUpgrade python2-noseUpgrade python3-bson-debuginfoUpgrade python3-docsUpgrade python3-docutilsUpgrade python-psycopg2-debuginfoUpgrade python2-numpy-docUpgrade python3-sqlalchemyUpgrade python2-debugUpgrade python2-docsUpgrade python2-debugsourceUpgrade python2-psycopg2Upgrade python-psycopg2-debugsourceUpgrade python-psycopg2-docUpgrade python2-wheel-wheelUpgrade python-pymongo-debuginfoUpgrade python-pymongo-docUpgrade resource-agents-pafUpgrade python2-sixUpgrade python2-coverageUpgrade python2-mockUpgrade python2-lxmlUpgrade python2-babelUpgrade python3-wheelUpgrade python36-develUpgrade scipy-debugsourceUpgrade resource-agents-aliyunUpgrade babelUpgrade Cython-debugsourceUpgrade python2-Cython-debuginfoUpgrade python2-pytzUpgrade python2-pymongo-debuginfoUpgrade python3-PyMySQLUpgrade python2-attrsUpgrade resource-agents-gcpUpgrade python2-pytest-mockUpgrade python2-lxml-debuginfoUpgrade python2-idnaUpgrade python2-CythonUpgrade python2-backportsUpgrade python3-pymongoUpgrade python2-testUpgrade python2-pytestUpgrade python2-markupsafeUpgrade python2-docs-infoUpgrade python2-debuginfoUpgrade python2Upgrade python2-ipaddressUpgrade python2-coverage-debuginfoUpgrade python2-setuptools-wheelUpgrade resource-agents-aliyun-debuginfoUpgrade python2-docutilsUpgrade python2-pyyaml-debuginfoUpgrade python3-wheel-wheelUpgrade python2-numpyUpgrade python2-toolsUpgrade python2-pyUpgrade python2-pip-wheelUpgrade python2-urllib3Upgrade python2-numpy-debuginfoUpgrade python2-develUpgrade python36Upgrade python3-virtualenvUpgrade python2-chardetUpgrade python3-noseUpgrade python2-pipUpgrade python36-debugUpgrade python2-psycopg2-debug-debuginfoUpgrade python-nose-docsUpgrade numpy-debugsourceUpgrade resource-agents-debugsourceUpgrade python36-rpm-macrosUpgrade python2-PyMySQLUpgrade python2-sqlalchemyUpgrade python2-pysocksUpgrade PyYAML-debugsourceUpgrade python-coverage-debugsourceUpgrade python2-scipyUpgrade python-lxml-debugsourceUpgrade python3-distroUpgrade python-virtualenv-docUpgrade python2-psycopg2-debugUpgrade python2-pymongo-gridfsUpgrade python2-libsUpgrade python2-bson-debuginfoUpgrade python2-jinja2 | Nov 10, 2021 | Mar 17, 2021 |
| Debian | — | Upgrade mediawikiUpgrade pygments | Mar 22, 2021 | Mar 17, 2021 |
| Dell Powerstore Dsa2023173 | — | Upgrade Dell PowerStoreOS to the latest version | Oct 23, 2025 | Jun 21, 2023 |
| Freebsd | — | Upgrade py39-pygmentsUpgrade py311-pygments-25Upgrade py37-pygments-25Upgrade py38-pygments-25Upgrade py38-pygmentsUpgrade py311-pygmentsUpgrade py39-pygments-25Upgrade py310-pygments-25Upgrade py310-pygmentsUpgrade py37-pygments | Sep 1, 2023 | Aug 31, 2023 |
| Huawei Euleros 2_0_sp2 | — | Upgrade python-pygments | Sep 16, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp3 | — | Upgrade python-pygments | Apr 30, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade python-pygments | Jul 19, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade python2-pygmentsUpgrade python3-pygments | May 18, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp9 | — | Upgrade python-pygments-helpUpgrade python3-pygments | Jul 2, 2021 | Mar 17, 2021 |
| Oracle Solaris | — | Upgrade library/python/pygments-39 to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/pygments-27 to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/pygments-37 to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/pygments to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4 | Jul 21, 2021 | Mar 17, 2021 |
| Oracle_linux | — | Upgrade python2-mockUpgrade python2-wheel-wheelUpgrade python2-debugUpgrade python-psycopg2-docUpgrade python2-numpy-docUpgrade python2-backports-ssl_match_hostnameUpgrade python2-bsonUpgrade python2-babelUpgrade python2-dnsUpgrade python2-pygmentsUpgrade python2-psycopg2Upgrade python2-urllib3Upgrade python36-develUpgrade python2-wheelUpgrade resource-agentsUpgrade python3-sqlalchemyUpgrade python3-scipyUpgrade python2-noseUpgrade python2-setuptoolsUpgrade python2-docsUpgrade python2-pymongoUpgrade python2-requestsUpgrade python2-markupsafeUpgrade python3-pymongoUpgrade python2-setuptools_scmUpgrade python2-numpy-f2pyUpgrade python2-sixUpgrade python2-tkinterUpgrade python-sqlalchemy-docUpgrade python2-pluggyUpgrade python-pymongo-docUpgrade python3-pygmentsUpgrade python2-pytestUpgrade python2-lxmlUpgrade python3-bsonUpgrade python3-docsUpgrade python2-rpm-macrosUpgrade python3-docutilsUpgrade python3-wheelUpgrade python2-psycopg2-testsUpgrade python2-chardetUpgrade python-nose-docsUpgrade python2-setuptools-wheelUpgrade python2-funcsigsUpgrade babelUpgrade python2-ipaddressUpgrade python2-toolsUpgrade python2-sqlalchemyUpgrade python2-pymongo-gridfsUpgrade python2-CythonUpgrade python2-psycopg2-debugUpgrade python2-PyMySQLUpgrade python2-pipUpgrade python2-libsUpgrade python2-develUpgrade python2-idnaUpgrade python2-coverageUpgrade python3-wheel-wheelUpgrade python2-virtualenvUpgrade python2-pysocksUpgrade python-virtualenv-docUpgrade python36-rpm-macrosUpgrade python2-numpyUpgrade python36Upgrade python36-debugUpgrade python3-PyMySQLUpgrade python3-noseUpgrade python2-jinja2Upgrade python2-testUpgrade python3-distroUpgrade python2-pip-wheelUpgrade python2-pyyamlUpgrade python2-pytzUpgrade python2-pytest-mockUpgrade python2-docs-infoUpgrade python2-scipyUpgrade python2Upgrade python2-docutilsUpgrade python3-virtualenvUpgrade python2-attrsUpgrade python3-pymongo-gridfsUpgrade python2-backportsUpgrade python2-py | Nov 19, 2021 | Jan 11, 2021 |
| Redhat_linux | — | Upgrade python-coverage-debugsourceUpgrade python36Upgrade python2-pysocksUpgrade python2-tkinterUpgrade python2-numpy-docUpgrade python2-testUpgrade python2-requestsUpgrade python2-pyUpgrade python2-toolsUpgrade resource-agents-pafUpgrade python36-develUpgrade python2-debuginfoUpgrade python2-psycopg2-debugUpgrade python2-numpyUpgrade python3-distroUpgrade python2-pytest-mockUpgrade python2-virtualenvUpgrade python2-backportsUpgrade python2-pygmentsUpgrade python2-markupsafeUpgrade babelUpgrade resource-agents-debugsourceUpgrade python2-develUpgrade python2-scipyUpgrade python3-pymongoUpgrade python2-wheel-wheelUpgrade resource-agents-aliyun-debuginfoUpgrade python2-pytestUpgrade python2-mockUpgrade PyYAML-debugsourceUpgrade python2-docs-infoUpgrade resource-agents-aliyunUpgrade python2-dnsUpgrade python2-rpm-macrosUpgrade python2-pymongo-gridfsUpgrade python2-sqlalchemyUpgrade python2-pip-wheelUpgrade python3-noseUpgrade python2-docsUpgrade python2-attrsUpgrade python2-debugsourceUpgrade python3-docutilsUpgrade python-sqlalchemy-docUpgrade python3-pymongo-debuginfoUpgrade python2-setuptools_scmUpgrade python3-virtualenvUpgrade python3-wheelUpgrade python2-wheelUpgrade python2-psycopg2-testsUpgrade python2-funcsigsUpgrade python2-docutilsUpgrade python2Upgrade python2-PyMySQLUpgrade python2-bsonUpgrade python2-lxmlUpgrade python3-bson-debuginfoUpgrade python2-backports-ssl_match_hostnameUpgrade python3-scipy-debuginfoUpgrade python2-pytzUpgrade numpy-debugsourceUpgrade python2-psycopg2-debuginfoUpgrade python2-scipy-debuginfoUpgrade python3-sqlalchemyNo solution existsUpgrade python2-coverage-debuginfoUpgrade python2-babelUpgrade python-lxml-debugsourceUpgrade python3-bsonUpgrade python2-psycopg2-debug-debuginfoUpgrade python-psycopg2-debugsourceUpgrade python2-ipaddressUpgrade python-pymongo-docUpgrade python2-pipUpgrade python2-numpy-debuginfoUpgrade resource-agents-debuginfoUpgrade python2-debugUpgrade python2-jinja2Upgrade python2-pymongoUpgrade python2-pluggyUpgrade resource-agentsUpgrade python3-scipyUpgrade python2-sixUpgrade python3-wheel-wheelUpgrade python36-debugUpgrade python2-coverageUpgrade python2-setuptools-wheelUpgrade python2-numpy-f2pyUpgrade python2-lxml-debuginfoUpgrade python2-Cython-debuginfoUpgrade resource-agents-gcpUpgrade python-nose-docsUpgrade python-pymongo-debuginfoUpgrade scipy-debugsourceUpgrade python2-CythonUpgrade python3-docsUpgrade python-virtualenv-docUpgrade python2-pyyamlUpgrade python-pymongo-debugsourceUpgrade python-psycopg2-debuginfoUpgrade python3-pygmentsUpgrade python2-idnaUpgrade python2-chardetUpgrade python2-pymongo-debuginfoUpgrade Cython-debugsourceUpgrade python2-noseUpgrade python2-pyyaml-debuginfoUpgrade python2-bson-debuginfoUpgrade python-psycopg2-docUpgrade python2-psycopg2Upgrade python2-urllib3Upgrade python3-pymongo-gridfsUpgrade python2-libsUpgrade python36-rpm-macrosUpgrade python3-PyMySQLUpgrade python2-setuptools | Nov 10, 2021 | Mar 17, 2021 |
| Rocky_linux | — | Upgrade Cython-debugsourceUpgrade python-psycopg2-debugsourceUpgrade python-psycopg2-debuginfoUpgrade python3-scipy-debuginfoUpgrade python2-debugUpgrade python3-scipyUpgrade resource-agents-debuginfoUpgrade python2-scipyUpgrade python2-pyyaml-debuginfoUpgrade python2-psycopg2-testsUpgrade python2-scipy-debuginfoUpgrade python3-sqlalchemyUpgrade python2-pymongoUpgrade scipy-debugsourceUpgrade python-pymongo-debuginfoUpgrade resource-agents-pafUpgrade python3-bsonUpgrade python3-pymongo-gridfsUpgrade python2-psycopg2Upgrade resource-agents-aliyunUpgrade python3-bson-debuginfoUpgrade python2-debugsourceUpgrade python2-tkinterUpgrade python2-lxmlUpgrade python2-pyyamlUpgrade python2-sqlalchemyUpgrade python2-coverageUpgrade python2-psycopg2-debuginfoUpgrade python2-psycopg2-debug-debuginfoUpgrade python2-markupsafeUpgrade python3-pymongoUpgrade python2Upgrade python2-bsonUpgrade python36-develUpgrade python-lxml-debugsourceUpgrade resource-agentsUpgrade python2-libsUpgrade python2-develUpgrade resource-agents-aliyun-debuginfoUpgrade python2-bson-debuginfoUpgrade resource-agents-gcpUpgrade resource-agents-debugsourceUpgrade python3-pymongo-debuginfoUpgrade python2-toolsUpgrade python2-pymongo-debuginfoUpgrade python2-CythonUpgrade python2-pymongo-gridfsUpgrade python2-coverage-debuginfoUpgrade python2-numpyUpgrade python-coverage-debugsourceUpgrade python2-testUpgrade PyYAML-debugsourceUpgrade python2-psycopg2-debugUpgrade python36Upgrade python2-lxml-debuginfoUpgrade python-pymongo-debugsourceUpgrade python36-debugUpgrade python2-numpy-f2pyUpgrade python2-numpy-debuginfoUpgrade python2-Cython-debuginfoUpgrade python2-backportsUpgrade python-psycopg2-docUpgrade numpy-debugsourceUpgrade python2-debuginfo | Mar 12, 2024 | Mar 17, 2021 |
| Suse | — | Upgrade python3-pygmentsUpgrade python2-pygmentsUpgrade python-pygments | Dec 2, 2021 | Mar 17, 2021 |
| Ubuntu | — | Upgrade python-pygmentsUpgrade python3-pygmentsUpgrade python-pygments (Ubuntu Pro)Upgrade python3-pygments (Ubuntu Pro) | Mar 31, 2021 | Mar 17, 2021 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Mar 17, 2021 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub