Skip to content
OpenAdvisories
Low · 3.3 CVE-2026-4539 EUVD-2026-14287GHSA-5239-wwwm-4pmqPYSEC-2026-2987

pygments archetype.py AdlLexer redos

Published Mar 22, 2026 · Updated Mar 23, 2026 · Assigned by VulDB

Description

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.

Affected products

VendorProductAffectedFixed
— pygments 2.19.0, 2.19.1, 2.19.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pygments 2.20.0+dfsg-1 —
Debian 13 pygments No fix yet —
Debian 12 pygments No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pygments No fix yet —
Ubuntu 26.04 LTS pygments No fix yet —
Ubuntu 25.10 pygments No fix yet —
Ubuntu 24.04 LTS pygments No fix yet —
Ubuntu 22.04 LTS pygments No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS pygments No fix yet —
Ubuntu 18.04 LTS pygments No fix yet —
Ubuntu 16.04 LTS pygments No fix yet —
Ubuntu Pro 14.04 LTS pygments No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-Pygments 2.19.1-160000.3.1 SUSE-SU-2026:22093-1
SLES 16.0 python-Pygments 2.19.1-160000.3.1 SUSE-SU-2026:22093-1
SLE Micro 6.2 python-Pygments 2.19.1-160000.3.1 SUSE-SU-2026:22058-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Pygments 2.20.0-2.1 openSUSE-SU-2026:10476-1
openSUSE Leap 16.0 python-Pygments 2.19.1-160000.3.1 openSUSE-SU-2026:20931-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-pygments 2.7.4-1.amzn2023.0.3 ALAS2023-2026-1973
Amazon Linux 2 python3-pygments +1 2.2.0-3.amzn2.0.4 ALAS2-2026-3817

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.1.8-r10 —
Wolfi rolling az 2.84.0-r4 —
Wolfi rolling dask-kubernetes 2026.3.0-r2 —
Wolfi rolling datadog-agent-7.72 +5 No fix yet —
Wolfi rolling datadog-agent-7.77 +1 7.77.3-r18 —
Wolfi rolling datadog-agent-7.78 +1 7.78.4-r18 —
Wolfi rolling datadog-agent-7.79 +1 7.79.2-r8 —
Wolfi rolling datadog-agent-7.80 7.80.4-r10 —
Wolfi rolling ggshield 1.49.0-r0 —
Wolfi rolling jupyter-base-notebook 7.5.5-r1 —
Wolfi rolling katib-earlystopping +6 0.19.0-r21 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling katib-suggestion-nas-enas 0.19.0-r32 —
Wolfi rolling kserve-storage-controller 0.16.0-r24 —
Wolfi rolling mycli 1.67.1-r1 —
Wolfi rolling neuvector-manager-cli 5.5.0-r2 —
Wolfi rolling open-webui 0.8.12-r1 —
Wolfi rolling py3-cassandra-medusa 0.27.0-r6 —
Wolfi rolling py3.10-pipenv +3 2026.8.0-r0 —
Wolfi rolling py3.10-pygments +4 2.20.0-r0 —
Wolfi rolling pypy-3.10 7.3.19-r20 —
Wolfi rolling pypy-3.11 7.3.23-r4 —
Wolfi rolling reflex 0.8.28-r2 —
Wolfi rolling semgrep 1.157.0-r1 —
Wolfi rolling superset-6.0 6.0.0-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pygments < 2.20.0 2.20.0 GHSA-5239-wwwm-4pmq

Advisories 7

References