Search for packages
| purl | pkg:deb/debian/pygments@2.7.1%2Bdfsg-2.1 |
| Next non-vulnerable version | 2.18.0+dfsg-2 |
| Latest non-vulnerable version | 2.18.0+dfsg-2 |
| Risk | 3.1 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-fyef-jw3e-zqa6
Aliases: CVE-2022-40896 GHSA-mrwq-x4v8-fh7p PYSEC-2023-117 |
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer. |
Affected by 0 other vulnerabilities. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| VCID-gkzq-thjf-z7fa | An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword. |
CVE-2021-20270
GHSA-9w8r-397f-prfh PYSEC-2021-140 |
| VCID-p93c-damj-kbec | 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. |
CVE-2021-27291
GHSA-pq64-v7f5-gqh8 PYSEC-2021-141 |
| Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
|---|---|---|---|---|---|
| 2025-08-01T17:00:59.310992+00:00 | Debian Oval Importer | Fixing | VCID-p93c-damj-kbec | https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 | 37.0.0 |
| 2025-08-01T14:56:16.531366+00:00 | Debian Oval Importer | Fixing | VCID-gkzq-thjf-z7fa | https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 | 37.0.0 |
| 2025-08-01T12:41:32.865869+00:00 | Debian Importer | Affected by | VCID-fyef-jw3e-zqa6 | https://security-tracker.debian.org/tracker/data/json | 37.0.0 |