Description
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
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 | pygments | 2.15.1+dfsg-1 | — |
| Debian 13 | pygments | 2.15.1+dfsg-1 | — |
| Debian 12 | pygments | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | pygments | 2.11.2+dfsg-2ubuntu0.1 | USN-7128-1 |
| Ubuntu 20.04 LTS | pygments | No fix yet | — |
| Ubuntu 18.04 LTS | pygments | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Utils 6 | foreman +1 | 3.9.1.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | foreman +1 | 3.9.1.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | puppetserver | 7.14.0-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-aiohttp +1 | 3.9.2-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-django +1 | 4.2.9-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-galaxy-importer +1 | 0.4.19-2.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-jinja2 +1 | 3.1.3-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-pycryptodomex +1 | 3.20.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-pygments +1 | 2.17.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | rubygem-activesupport | 6.1.7.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | foreman +14 | 3.9.1.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | puppetserver | 7.14.0-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-aiohttp +1 | 3.9.2-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-django +1 | 4.2.9-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-galaxy-importer +1 | 0.4.19-2.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-jinja2 +1 | 3.1.3-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-pycryptodomex +1 | 3.20.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-pygments +1 | 2.17.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | rubygem-activesupport | 6.1.7.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | rubygem-audited | 5.4.2-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | rubygem-puma | 6.4.2-1.el8sat | RHSA-2024:2010 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform Inside 2 | python-jinja2 +1 | 3.1.3-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform Inside 2 | python-pygments +1 | 2.17.2-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform Inside 2 | python39-jinja2 +1 | 3.1.3-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform Inside 2 | python39-pygments +1 | 2.17.2-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform Developer 2 | python-jinja2 +1 | 3.1.3-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform Developer 2 | python-pygments +1 | 2.17.2-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform Developer 2 | python39-jinja2 +1 | 3.1.3-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform Developer 2 | python39-pygments +1 | 2.17.2-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-installer | 2.4-6.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | ansible-rulebook +3 | 1.0.5-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python-aiohttp +1 | 3.9.1-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python-django +1 | 4.2.10-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python-jinja2 +1 | 3.1.3-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python-pillow +1 | 10.0.1-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python-pycryptodomex +1 | 3.20.0-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python-pygments +1 | 2.17.2-1.el9ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python39-aiohttp +1 | 3.9.1-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python39-django +1 | 4.2.10-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python39-jinja2 +1 | 3.1.3-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python39-pillow +1 | 10.0.1-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python39-pycryptodomex +1 | 3.20.0-1.el8ap | RHSA-2024:1057 |
| Red Hat Ansible Automation Platform 2 | python39-pygments +1 | 2.17.2-1.el8ap | RHSA-2024:1057 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-pygments | 2.4.2-1 | — |
| Azure Linux 2 (CBL-Mariner) | python-pygments | 2.4.2-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pygments | < 2.15.0 | 2.15.0 | GHSA-mrwq-x4v8-fh7p |
| PyPI | pygments | < 2.15.1 | 2.15.1 | PYSEC-2023-117 |
Advisories 7
- RHSA-2024:2010 Red Hat Security Advisory: Satellite 6.15.0 release Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2024:1057 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- USN-7128-1 pygments vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- WID-SEC-2024-0949 Red Hat Satellite: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 26, 2026
- WID-SEC-2024-0869 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 10, 2025
- WID-SEC-2024-0522 Red Hat Ansible Automation Platform: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 24, 2025
- WID-SEC-2024-0113 Oracle Utilities Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 19, 2024