CVEfocus › CVE database › CVE-2026-4539

CVE-2026-4539pygments archetype.py AdlLexer redos

CVSS 3.3 LowEPSS 0.2% (higher than 5% of CVEs)Published 2026-03-22Updated 2026-03-23Assigner: VulDB

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.

CWE-1333CWE-400

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
9Fix pending
3Under investigation
1Will not fix
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10pygmentsFix pendingUBUNTU-CVE-2026-4539
Ubuntu 26.04pygmentsUnder investigationUBUNTU-CVE-2026-4539
Ubuntu 25.10pygmentsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-4539
Ubuntu 24.04pygmentsUnder investigationUBUNTU-CVE-2026-4539
Ubuntu 22.04pygmentsUnder investigationUBUNTU-CVE-2026-4539
Ubuntu 20.04pygmentsFix pendingUBUNTU-CVE-2026-4539
Ubuntu 18.04pygmentsFix pendingUBUNTU-CVE-2026-4539
Ubuntu 16.04pygmentsFix pendingUBUNTU-CVE-2026-4539
Ubuntu 14.04pygmentsFix pendingUBUNTU-CVE-2026-4539
Debian 14pygmentsFixed2.20.0+dfsg-1DEBIAN-CVE-2026-4539
Debian 13pygmentsFixed2.18.0+dfsg-2+deb13u1DEBIAN-CVE-2026-4539
Debian 12pygmentsFix pendingDEBIAN-CVE-2026-4539
Red Hat Enterprise Linux 10python-pipNot affected
Red Hat Enterprise Linux 10python3.14-pipFix pending
Fix deferred
Red Hat Enterprise Linux 9python3.11-pipNot affected
Red Hat Enterprise Linux 9python3.11-pip-wheelNot affected
Red Hat Enterprise Linux 9python3.12-pipNot affected
Red Hat Enterprise Linux 9python3.12-pip-wheelNot affected
Red Hat Enterprise Linux 9python3.14-pipFix pending
Fix deferred
Red Hat Enterprise Linux 9python3.14-pip-wheelFix pending
Fix deferred
Red Hat Enterprise Linux 8python3.11-pipNot affected
Red Hat Enterprise Linux 8python3.11-pip-wheelNot affected
Red Hat Enterprise Linux 8python3.12-pipNot affected
Red Hat Enterprise Linux 8python3.12-pip-wheelNot affected
Red Hat Enterprise Linux 8resource-agentsNot affected
Red Hat Enterprise Linux 8resource-agents-aliyunNot affected
Red Hat Enterprise Linux 8resource-agents-gcpNot affected
Red Hat Enterprise Linux 8resource-agents-pafNot affected
PyPI librarypygmentsFixed2.20.0PYSEC-2026-2987

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.