| Name | CVE-2026-4539 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1132233 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| pygments (PTS) | bullseye | 2.7.1+dfsg-2.1 | vulnerable |
| bookworm | 2.14.0+dfsg-1 | vulnerable |
| trixie | 2.18.0+dfsg-2 | vulnerable |
| forky, sid | 2.19.2+dfsg-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| pygments | source | (unstable) | (unfixed) | | | 1132233 |
Notes
[trixie] - pygments <no-dsa> (Minor issue)
[bookworm] - pygments <no-dsa> (Minor issue)
[bullseye] - pygments <postponed> (Minor issue)
https://github.com/pygments/pygments/issues/3058
https://github.com/pygments/pygments/pull/3064
Fixed by: https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc (2.20.0)