pygments: A security flaw has been discovered in pygments up to 2.19.2
CVE-2026-4539 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2026-4539, released March 22, 2026. It is not reported as exploited. Patch Radar priority: Routine.
A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| pygments · Debian 14 | 2.20.0+dfsg-1 | DEBIAN-CVE-2026-4539 | Mar 22, 2026 |
| python-Pygments · opensuse-leap 16.0 | 2.19.1-160000.3.1 | OPENSUSE-SU-2026:20931-1 | Jun 9, 2026 |
| python-Pygments · sles 16.0 | 2.19.1-160000.3.1 | SUSE-SU-2026:22093-1 | Jun 9, 2026 |
| python3-pygments · amzn 2023 | 2.7.4-1.amzn2023.0.3 | ALAS2023-2026-1973 | Jul 20, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.