Technology · PyPI
pygments (PyPI) vulnerabilities
Updated . Rebuilt every hour.
Junglewise Threat Intelligence has tracked 5 vulnerabilities in pygments (PyPI): 0 in the last 7 days and 1 in the last 90 days, 0 of them critical and 0 exploited in the wild. The most recent, CVE-2026-4539, was published on 13 July 2026.
- Last 7 days
- 0
- Last 90 days
- 1
- Critical, all time
- 0
- Exploited in the wild
- 0
Latest pygments (PyPI) vulnerabilities
- CVE-2026-4539: PYSEC-2026-2987 - Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID MatchinglowCVSS 3.1EPSS 0.2%
- CVE-2022-40896: PYSEC-2023-117 - A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.lowCVSS 3.1EPSS 0.5%
- CVE-2021-20270: PYSEC-2021-140 - An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when…lowCVSS 3.1EPSS 2.8%
- CVE-2021-27291: PYSEC-2021-141 - In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular…lowCVSS 3.1EPSS 3.9%
- CVE-2015-8557: PYSEC-2016-32 - The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows…lowCVSS 3EPSS 6.7%
Most severe pygments (PyPI) vulnerabilities
Exploited in the wild first, then by severity and CVSS score.
- CVE-2021-27291: PYSEC-2021-141 - In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular…lowCVSS 3.1EPSS 3.9%
- CVE-2021-20270: PYSEC-2021-140 - An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when…lowCVSS 3.1EPSS 2.8%
- CVE-2022-40896: PYSEC-2023-117 - A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.lowCVSS 3.1EPSS 0.5%
- CVE-2026-4539: PYSEC-2026-2987 - Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID MatchinglowCVSS 3.1EPSS 0.2%
- CVE-2015-8557: PYSEC-2016-32 - The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows…lowCVSS 3EPSS 6.7%
Vulnerabilities per week
The last 13 weeks, by the week each vulnerability was published.
| Week of | Bar | Vulns | Critical |
|---|---|---|---|
| 29 Jun 2026 | 0 | 0 | |
| 6 Jul 2026 | 0 | 0 | |
| 13 Jul 2026 | 1 | 0 | |
| 20 Jul 2026 | 0 | 0 | |
| 27 Jul 2026 | 0 | 0 | |
| 3 Aug 2026 | 0 | 0 | |
| 10 Aug 2026 | 0 | 0 | |
| 17 Aug 2026 | 0 | 0 | |
| 24 Aug 2026 | 0 | 0 | |
| 31 Aug 2026 | 0 | 0 | |
| 7 Sep 2026 | 0 | 0 | |
| 14 Sep 2026 | 0 | 0 | |
| 21 Sep 2026 | 0 | 0 |
How this is built
Junglewise Threat Intelligence collects vulnerabilities from NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories, and matches each one to the technologies and vendors it affects. Dates are the date a vulnerability was published, in UTC.
The pages are rebuilt from the database every hour. Frozen weekly and monthly reports never change once published, so they can be cited.
Use this data
The same data is at https://junglewise.ai/threats/technologies/pygments.json, for scripts and language models. It is free to reuse under CC BY 4.0 with a link back to this page.
Cite as: Junglewise Threat Intelligence, "pygments (PyPI) vulnerabilities", https://junglewise.ai/threats/technologies/pygments, 26 September 2026.