pygments
PyPI package
Overview
Package versions
| Versions | Range | Direct vulnerabilities |
|---|---|---|
| 2.20.0 | and later versions | 0C0H0M0L |
| 2.15.0 | up to 2.20.0 | 0C0H0M1L |
| 2.7.4 | up to 2.15.0 | 0C0H1M1L |
| 2.1 | up to 2.7.4 | 0C2H1M1L |
| 1.5 | up to 2.1 | 1C2H1M1L |
| 1.2.2 | up to 1.5 | 1C1H1M1L |
| 1.1 | up to 1.2.2 | 0C1H1M1L |
| before 1.1 | all earlier versions | 0C0H1M1L |
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
| CVE | Severity | Published | Vulnerable | Fixed 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.