Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mediawiki | 1:1.35.2-1 | — |
| Debian 14 | pygments | 2.7.1+dfsg-2.1 | — |
| Debian 13 | mediawiki | 1:1.35.2-1 | — |
| Debian 13 | pygments | 2.7.1+dfsg-2.1 | — |
| Debian 12 | mediawiki | 1:1.35.2-1 | — |
| Debian 12 | pygments | 2.7.1+dfsg-2.1 | — |
| Debian 10 | mediawiki | 1:1.31.14-1~deb10u1 | DSA-4889-1 |
| Debian 10 | pygments | 2.3.1+dfsg-1+deb10u2 | DSA-4878-1 |
| Debian 9 | mediawiki | 1:1.27.7-1~deb9u8 | DLA-2648-1 |
| Debian 9 | pygments | 2.2.0+dfsg-1+deb9u2 | DLA-2600-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | eric | No fix yet | — |
| Ubuntu 26.04 LTS | eric | No fix yet | — |
| Ubuntu 25.10 | eric | No fix yet | — |
| Ubuntu 24.04 LTS | eric | No fix yet | — |
| Ubuntu 22.04 LTS | eric | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | eric | No fix yet | — |
| Ubuntu 20.04 LTS | pygments | 2.3.1+dfsg-1ubuntu2.2 | USN-4897-1 |
| Ubuntu 18.04 LTS | eric | No fix yet | — |
| Ubuntu 18.04 LTS | pygments | 2.2.0+dfsg-1ubuntu0.2 | USN-4897-1 |
| Ubuntu 16.04 LTS | eric | No fix yet | — |
| Ubuntu 16.04 LTS | pygments | 2.1+dfsg-1ubuntu0.2 | USN-4897-1 |
| Ubuntu Pro 14.04 LTS | pygments | 1.6+dfsg-1ubuntu1.1+esm1 | USN-4897-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | Cython +1 | 0.28.1-7.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | PyYAML +1 | 3.12-16.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | babel +1 | 2.5.1-10.module+el8.5.0+11014+88fc0d0b | RHSA-2021:4151 |
| RHEL 8 | numpy +3 | 1:1.14.2-16.module+el8.4.0+9406+221a4565 | RHSA-2021:4151 |
| RHEL 8 | pytest +1 | 3.4.2-13.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-PyMySQL +1 | 0.8.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python-attrs +1 | 17.4.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-backports +1 | 1.0-16.module+el8.4.0+9193+f3daf6ef | RHSA-2021:4151 |
| RHEL 8 | python-backports-ssl_match_hostname +1 | 3.5.0.1-12.module+el8.4.0+9193+f3daf6ef | RHSA-2021:4151 |
| RHEL 8 | python-chardet +1 | 3.0.4-10.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-coverage +1 | 4.5.1-4.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-distro +1 | 1.4.0-2.module+el8.1.0+3334+5cb623d7 | RHSA-2021:4150 |
| RHEL 8 | python-dns +1 | 1.15.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-docs +2 | 2.7.16-2.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python-docutils +1 | 0.14-12.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python-funcsigs +1 | 1.0.2-13.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-idna +1 | 2.5-7.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-ipaddress +1 | 1.0.18-6.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-jinja2 +1 | 2.10-9.module+el8.5.0+10541+706bb066 | RHSA-2021:4151 |
| RHEL 8 | python-lxml +1 | 4.2.3-5.module+el8.5.0+10534+22332931 | RHSA-2021:4151 |
| RHEL 8 | python-markupsafe +1 | 0.23-19.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-mock +1 | 2.0.0-13.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-nose +2 | 1.3.7-31.module+el8.5.0+12203+77770ab7 | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python-pluggy +1 | 0.6.0-8.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-psycopg2 +4 | 2.7.5-7.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-py +1 | 1.5.3-6.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-pygments +1 | 2.2.0-22.module+el8.5.0+10788+a4cea9e0 | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python-pysocks +1 | 1.6.8-6.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-pytest-mock +1 | 1.9.0-4.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-requests +1 | 2.20.0-3.module+el8.2.0+4577+feefd9b8 | RHSA-2021:4151 |
| RHEL 8 | python-setuptools_scm +1 | 1.15.7-6.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python-sqlalchemy +2 | 1.3.2-2.module+el8.3.0+6646+6b4b10ec | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python-urllib3 +1 | 1.24.2-3.module+el8.4.0+9193+f3daf6ef | RHSA-2021:4151 |
| RHEL 8 | python-virtualenv +1 | 15.1.0-21.module+el8.5.0+12203+77770ab7 | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python-wheel +2 | 1:0.31.1-3.module+el8.5.0+12203+77770ab7 | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python2 +6 | 2.7.18-7.module+el8.5.0+12203+77770ab7 | RHSA-2021:4151 |
| RHEL 8 | python2-bson +2 | 3.7.0-1.module+el8.5.0+10264+e5753a40 | RHSA-2021:4151 |
| RHEL 8 | python2-pip +1 | 9.0.3-18.module+el8.3.0+7707+eb4bba01 | RHSA-2021:4151 |
| RHEL 8 | python2-rpm-macros | 3-38.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | python2-setuptools +1 | 39.0.1-13.module+el8.4.0+9442+27d0e81c | RHSA-2021:4151 |
| RHEL 8 | python2-six | 1.11.0-6.module+el8.4.0+9287+299307c7 | RHSA-2021:4151 |
| RHEL 8 | python2-sqlalchemy | 1.3.2-2.module+el8.3.0+6647+8d010749 | RHSA-2021:4151 |
| RHEL 8 | python3-PyMySQL | 0.10.1-2.module+el8.4.0+9657+a4b6a102 | RHSA-2021:4150 |
| RHEL 8 | python3-bson +4 | 3.7.0-1.module+el8.4.0+9670+1849b5f9 | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 8 | python3-docs | 3.6.7-2.module+el8.1.0+3334+5cb623d7 | RHSA-2021:4150 |
| RHEL 8 | python3-docutils | 0.14-12.module+el8.1.0+3334+5cb623d7 | RHSA-2021:4150 |
| RHEL 8 | python3-nose | 1.3.7-31.module+el8.5.0+12207+5c5719bc | RHSA-2021:4150 |
| RHEL 8 | python3-pygments | 2.2.0-22.module+el8.5.0+10789+e4939b94 | RHSA-2021:4150 |
| RHEL 8 | python3-scipy | 1.0.0-21.module+el8.5.0+10916+41bd434d | RHSA-2021:4150 |
| RHEL 8 | python3-virtualenv +1 | 15.1.0-21.module+el8.5.0+12207+5c5719bc | RHSA-2021:4150 |
| RHEL 8 | python3-wheel +1 | 1:0.31.1-3.module+el8.5.0+12207+5c5719bc | RHSA-2021:4150 |
| RHEL 8 | python36 +3 | 3.6.8-38.module+el8.5.0+12207+5c5719bc | RHSA-2021:4150 |
| RHEL 8 | pytz +1 | 2017.2-12.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| RHEL 8 | resource-agents +3 | 4.1.1-98.el8 | RHSA-2021:4139 |
| RHEL 8 | scipy +1 | 1.0.0-21.module+el8.5.0+10858+05337455 | RHSA-2021:4151, RHSA-2021:4150 |
| RHEL 3 | python27-babel +1 | 0.9.6-10.el7 | RHSA-2021:3252 |
| RHEL 3 | python27-python +6 | 2.7.18-3.el7 | RHSA-2021:3252 |
| RHEL 3 | python27-python-jinja2 | 2.6-16.el7 | RHSA-2021:3252 |
| RHEL 3 | python27-python-pygments | 1.5-5.el7 | RHSA-2021:3252 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 4 | automation-hub +2 | 4.2.2-1.el7pc | RHSA-2021:0781 |
| Red Hat Ansible Automation Platform 4 | python-bleach +1 | 3.3.0-1.el7pc | RHSA-2021:0781 |
| Red Hat Ansible Automation Platform 4 | python-bleach-allowlist +1 | 1.0.3-1.el7pc | RHSA-2021:0781 |
| Red Hat Ansible Automation Platform 4 | python-galaxy-importer +1 | 0.2.15-1.el7pc | RHSA-2021:0781 |
| Red Hat Ansible Automation Platform 4 | python-pulp-ansible +1 | 1:0.5.6-1.el7pc | RHSA-2021:0781 |
| Red Hat Ansible Automation Platform 4 | python3-django | 2.2.18-1.el7pc | RHSA-2021:0781 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | babel +1 | 2.5.1-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python-nose-docs | 1.3.7-31.module_el8.5.0+2569+5c5719bc | ALSA-2021:4151, ALSA-2021:4150 |
| AlmaLinux 8 | python-sqlalchemy-doc | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2021:4151, ALSA-2021:4150 |
| AlmaLinux 8 | python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-backports | 1.0-16.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-backports-ssl_match_hostname | 3.5.0.1-12.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-bson +2 | 3.7.0-1.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-coverage | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-dns | 1.15.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-docs +1 | 2.7.16-2.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-docutils | 0.14-12.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-funcsigs | 1.0.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-idna | 2.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-ipaddress | 1.0.18-6.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-jinja2 | 2.10-9.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-markupsafe | 0.23-19.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-mock | 2.0.0-13.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-nose | 1.3.7-31.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-numpy +2 | 1:1.14.2-16.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-pluggy | 0.6.0-8.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-psycopg2 +3 | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-py | 1.5.3-6.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-pygments | 2.2.0-22.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-pysocks | 1.6.8-6.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-pytest | 3.4.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-pytest-mock | 1.9.0-4.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-pytz | 2017.2-12.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-pyyaml | 3.12-16.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-requests | 2.20.0-3.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-rpm-macros | 3-38.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-scipy | 1.0.0-21.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-setuptools +1 | 39.0.1-13.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-setuptools_scm | 1.15.7-6.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-six | 1.11.0-6.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-sqlalchemy | 1.3.2-2.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-urllib3 | 1.24.2-3.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-virtualenv | 15.1.0-21.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python2-wheel +1 | 1:0.31.1-3.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux 8 | python3-PyMySQL | 0.10.1-2.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-bson +3 | 3.7.0-1.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-distro | 1.4.0-2.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-docs | 3.6.7-2.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-docutils | 0.14-12.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-nose | 1.3.7-31.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-pygments | 2.2.0-22.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-scipy | 1.0.0-21.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-sqlalchemy | 1.3.2-2.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-virtualenv +1 | 15.1.0-21.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python3-wheel +1 | 1:0.31.1-3.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | python36 +3 | 3.6.8-38.module_el8.5.0+135+5ce32bc4 | ALSA-2021:4150 |
| AlmaLinux 8 | resource-agents +3 | 4.1.1-98.el8 | ALSA-2021:4139 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | Cython | 0.28.1-7.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | PyYAML | 3.12-16.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | babel | 2.5.1-10.module+el8.5.0+706+735ec4b3 | RLSA-2021:4151 |
| Rocky Linux 8 | numpy | 1:1.14.2-16.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | pytest | 3.4.2-13.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-PyMySQL | 0.8.0-10.module+el8.3.0+120+426d8baf | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-attrs | 17.4.0-10.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-backports | 1.0-16.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-backports-ssl_match_hostname | 3.5.0.1-12.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-chardet | 3.0.4-10.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-coverage | 4.5.1-4.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-distro | 1.4.0-2.module+el8.3.0+120+426d8baf | RLSA-2021:4150 |
| Rocky Linux 8 | python-dns | 1.15.0-10.el8 | RLSA-2021:4151 |
| Rocky Linux 8 | python-docs | 2.7.16-2.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-docutils | 0.14-12.module+el8.3.0+120+426d8baf | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-funcsigs | 1.0.2-13.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-idna | 2.5-7.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-ipaddress | 1.0.18-6.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-jinja2 | 2.10-9.module+el8.5.0+706+735ec4b3 | RLSA-2021:4151 |
| Rocky Linux 8 | python-lxml | 4.2.3-5.module+el8.5.0+706+735ec4b3 | RLSA-2021:4151 |
| Rocky Linux 8 | python-markupsafe | 0.23-19.el8 | RLSA-2021:4151 |
| Rocky Linux 8 | python-mock | 2.0.0-13.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-nose | 1.3.7-31.module+el8.5.0+671+195e4563 | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-pluggy | 0.6.0-8.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-psycopg2 | 2.7.5-7.el8 | RLSA-2021:4151 |
| Rocky Linux 8 | python-py | 1.5.3-6.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-pygments | 2.2.0-22.module+el8.5.0+671+195e4563 | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-pymongo | 3.7.0-1.module+el8.4.0+597+ddf0ddea | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-pysocks | 1.6.8-6.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-pytest-mock | 1.9.0-4.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-requests | 2.20.0-3.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-setuptools_scm | 1.15.7-6.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-sqlalchemy | 1.3.2-2.module+el8.3.0+120+426d8baf | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-urllib3 | 1.24.2-3.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python-virtualenv | 15.1.0-21.module+el8.5.0+671+195e4563 | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python-wheel | 1:0.31.1-3.module+el8.5.0+671+195e4563 | RLSA-2021:4151, RLSA-2021:4150 |
| Rocky Linux 8 | python2 | 2.7.18-7.module+el8.5.0+706+735ec4b3.rocky.0.1 | RLSA-2021:4151 |
| Rocky Linux 8 | python2-pip | 9.0.3-18.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python2-rpm-macros | 3-38.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python2-setuptools | 39.0.1-13.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python2-six | 1.11.0-6.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | python36 | 3.6.8-38.module+el8.5.0+671+195e4563 | RLSA-2021:4150 |
| Rocky Linux 8 | pytz | 2017.2-12.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux 8 | resource-agents | 4.1.1-98.el8 | RLSA-2021:4139 |
| Rocky Linux 8 | scipy | 1.0.0-21.module+el8.5.0+671+195e4563 | RLSA-2021:4151, RLSA-2021:4150 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | python-Pygments | 2.2.0-4.9.1 | SUSE-SU-2021:3841-1, SUSE-SU-2021:3839-1 |
| SLES 15 SP2 | python-Pygments | 2.2.0-4.9.1 | SUSE-SU-2021:3841-1, SUSE-SU-2021:3840-1 |
| SLES 15 SP1 | python-Pygments | 2.6.1-7.10.1 | SUSE-SU-2021:3840-1 |
| SLES 15 | python-Pygments | 2.2.0-4.9.1 | SUSE-SU-2021:3841-1 |
| SLES 12 | python-Pygments | 2.4.2-10.7.1 | SUSE-SU-2021:3814-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | python-Pygments | 2.6.1-7.10.1 | SUSE-SU-2021:3840-1 |
| SLES for SAP 15 | python-Pygments | 2.2.0-4.9.1 | SUSE-SU-2021:3841-1 |
| SLE HPC 15 SP1 | python-Pygments | 2.6.1-7.10.1 | SUSE-SU-2021:3840-1 |
| SLE HPC 15 | python-Pygments | 2.2.0-4.9.1 | SUSE-SU-2021:3841-1 |
| SUSE Enterprise Storage 6 | python-Pygments | 2.6.1-7.10.1 | SUSE-SU-2021:3840-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | python-Pygments | 2.2.0-4.9.1 | openSUSE-SU-2021:3841-1, openSUSE-SU-2021:3839-1 |
| openSUSE Leap 15.2 | python-Pygments | 2.6.1-lp152.5.12.1 | openSUSE-SU-2021:1521-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.12 | py3-pygments | 2.6.1-r1 | — |
| Alpine v3.11 | py3-pygments | 2.5.2-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python-pygments | 1.4-10.amzn2.0.1 | ALAS2-2023-2198 |
| Amazon Linux 2 | python3-pygments +1 | 2.2.0-3.amzn2.0.3 | ALAS2-2023-2117 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-pygments | 2.7.4-1 | — |
| Azure Linux 2 (CBL-Mariner) | python-pygments | 2.4.2-7 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | babel +1 | 2.5.1-10.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2 +6 | 2.7.18-7.0.1.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-Cython | 0.28.1-7.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-PyMySQL | 0.8.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-attrs | 17.4.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-backports | 1.0-16.module+el8.4.0+20050+79c7b4ee | ELSA-2021-4151 |
| Oracle Linux 8 | python2-backports-ssl_match_hostname | 3.5.0.1-12.module+el8.4.0+20050+79c7b4ee | ELSA-2021-4151 |
| Oracle Linux 8 | python2-bson +2 | 3.7.0-1.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-chardet | 3.0.4-10.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-coverage | 4.5.1-4.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-dns | 1.15.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-docs +1 | 2.7.16-2.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-docutils | 0.14-12.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-funcsigs | 1.0.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-idna | 2.5-7.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-ipaddress | 1.0.18-6.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-jinja2 | 2.10-9.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-lxml | 4.2.3-5.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-markupsafe | 0.23-19.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-mock | 2.0.0-13.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-nose | 1.3.7-31.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-numpy +2 | 1:1.14.2-16.module+el8.4.0+20050+79c7b4ee | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pip +1 | 9.0.3-18.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pluggy | 0.6.0-8.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-psycopg2 +3 | 2.7.5-7.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-py | 1.5.3-6.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pygments | 2.2.0-22.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pysocks | 1.6.8-6.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pytest | 3.4.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pytest-mock | 1.9.0-4.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pytz | 2017.2-12.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-pyyaml | 3.12-16.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-requests | 2.20.0-3.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-rpm-macros | 3-38.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-scipy | 1.0.0-21.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-setuptools +1 | 39.0.1-13.module+el8.4.0+20050+79c7b4ee | ELSA-2021-4151 |
| Oracle Linux 8 | python2-setuptools_scm | 1.15.7-6.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-six | 1.11.0-6.module+el8.4.0+20050+79c7b4ee | ELSA-2021-4151 |
| Oracle Linux 8 | python2-sqlalchemy | 1.3.2-2.module+el8.3.0+7833+4aaf98ce | ELSA-2021-4151 |
| Oracle Linux 8 | python2-urllib3 | 1.24.2-3.module+el8.4.0+20050+79c7b4ee | ELSA-2021-4151 |
| Oracle Linux 8 | python2-virtualenv | 15.1.0-21.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python2-wheel +1 | 1:0.31.1-3.module+el8.5.0+20361+8a9d3d27 | ELSA-2021-4151 |
| Oracle Linux 8 | python3-PyMySQL | 0.10.1-2.module+el8.4.0+20103+1849b5f9 | ELSA-2021-4150 |
| Oracle Linux 8 | python3-bson +3 | 3.7.0-1.module+el8.4.0+20103+1849b5f9 | ELSA-2021-4150 |
| Oracle Linux 8 | python3-distro | 1.4.0-2.module+el8.3.0+7694+550a8252 | ELSA-2021-4150 |
| Oracle Linux 8 | python3-docs | 3.6.7-2.module+el8.3.0+7694+550a8252 | ELSA-2021-4150 |
| Oracle Linux 8 | python3-docutils | 0.14-12.module+el8.3.0+7694+550a8252 | ELSA-2021-4150 |
| Oracle Linux 8 | python3-nose +1 | 1.3.7-31.module+el8.5.0+20329+5c5719bc | ELSA-2021-4151, ELSA-2021-4150 |
| Oracle Linux 8 | python3-pygments | 2.2.0-22.module+el8.5.0+20329+5c5719bc | ELSA-2021-4150 |
| Oracle Linux 8 | python3-scipy | 1.0.0-21.module+el8.5.0+20329+5c5719bc | ELSA-2021-4150 |
| Oracle Linux 8 | python3-sqlalchemy +1 | 1.3.2-2.module+el8.3.0+7694+550a8252 | ELSA-2021-4151, ELSA-2021-4150 |
| Oracle Linux 8 | python3-virtualenv +1 | 15.1.0-21.module+el8.5.0+20329+5c5719bc | ELSA-2021-4150 |
| Oracle Linux 8 | python3-wheel +1 | 1:0.31.1-3.module+el8.5.0+20329+5c5719bc | ELSA-2021-4150 |
| Oracle Linux 8 | python36 +3 | 3.6.8-38.module+el8.5.0+20329+5c5719bc | ELSA-2021-4150 |
| Oracle Linux 8 | resource-agents | 4.1.1-98.el8 | ELSA-2021-9553 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pygments | >= 1.1, < 2.7.4 | 2.7.4 | GHSA-pq64-v7f5-gqh8 |
Advisories 29
- ALSA-2021:4150 Moderate: python36:3.6 security and bug fix update AlmaLinux Security Advisories · Nov 2, 2026
- ALSA-2021:4151 Moderate: python27:2.7 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:4139 Moderate: resource-agents security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:4151 Red Hat Security Advisory: python27:2.7 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2021:3252 Red Hat Security Advisory: python27 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- USN-4897-2 pygments vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2021:4150 Red Hat Security Advisory: python36:3.6 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2021:4139 Red Hat Security Advisory: resource-agents security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2021:0781 Red Hat Security Advisory: Red Hat Ansible Automation Platform 1.2.2 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-4897-1 pygments vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4889-1 mediawiki - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4878-1 pygments - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2648-1 mediawiki - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2600-1 pygments - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:4150 Moderate: python36:3.6 security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2021:4151 Moderate: python27:2.7 security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2021:4139 Moderate: resource-agents security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2021:1521-1 Security update for python-Pygments SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3840-1 Security update for python-Pygments SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3841-1 Security update for python-Pygments SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3841-1 Security update for python-Pygments SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3814-1 Security update for python-Pygments SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3839-1 Security update for python-Pygments SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3839-1 Security update for python-Pygments SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2-2023-2198 Moderate: python-pygments security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 8, 2023
- ALAS2-2023-2117 Moderate: python3-pygments security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 19, 2023
- ELSA-2021-9553 Moderate: resource-agents security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 19, 2021
- ELSA-2021-4151 Moderate: python27:2.7 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 16, 2021
- ELSA-2021-4150 Moderate: python36:3.6 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 16, 2021
References
- https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce
- https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14
- [debian-lts-announce] 20210319 [SECURITY] [DLA 2600-1] pygments security update mailing-list
- DSA-4878 vendor-advisory
- DSA-4889 vendor-advisory
- [debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security update mailing-list
- FEDORA-2021-166dfc62b2 vendor-advisory
- FEDORA-2021-3f975f68c8 vendor-advisory
- [debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression update mailing-list