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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade python3-pygmentsUpgrade python3-pygments-doc | Jul 22, 2026 | Jul 22, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Mar 22, 2026 |
| Suse | — | Upgrade python313-PygmentsUpgrade python311-PygmentsUpgrade python3-pygments | May 8, 2026 | Apr 30, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Mar 22, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub