Live threats

All CVEs

CVE-2026-4539

Low 1.9

Priority
11
CVSS 4.0
1.9
EPSS
—
Auth required
Yes
Published
Mar 22, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
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.

Original NVD text.

What to do

  1. Check whether you run any of the affected products and follow the vendor advisory.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

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.