CVE-2026-4539
Low 1.9
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 11
- CVSS 4.0
- 1.9
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 22, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pygments |
< 2.20.0 |
2.20.0 |
pip install "pygments>=2.20.0" |
| PyPI | pygments |
< 2.20.0 |
2.20.0 |
pip install "pygments>=2.20.0" |
Per OSV / GitHub Advisories (GHSA-5239-wwwm-4pmq, PYSEC-2026-2987). Check the version in your lockfile before upgrading.
Official advisories
- Security update for python-Pygments · SUSE · openSUSE-SU-2026:20931-1 · Jun 9, 2026 Low
- Security update for python-Pygments · SUSE · SUSE-SU-2026:22058-1 · Jun 9, 2026 Low
- Security update for python-Pygments · SUSE · SUSE-SU-2026:22093-1 · Jun 9, 2026 Low
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.