Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
Pygments: CPU Consumption Issue in Certain Lexers
MGASA-2026-0090
Summary
A weakness in Pygments' AdlLexer can lead to high CPU usage, potentially causing slow performance or system crashes. This issue affects older versions of Pygments. Upgrade to the latest version to resolve this issue.
What to do
- Update python-pygments to version 2.15.1-1.1.mga9.
Affected software
| Vendor | Product | Affected versions | Fix available |
|---|---|---|---|
| – | python-pygments | <= 2.15.1-1.1.mga9 | 2.15.1-1.1.mga9 |
Original title
Updated python-pygments packages fix security vulnerability
Original description
A security flaw in Pygments function AdlLexer in archetype.py stems from
a regular expression having an inefficient, possibly exponential worst-case
computational complexity that consumes excessive CPU cycles. (CVE-2026-4539)
a regular expression having an inefficient, possibly exponential worst-case
computational complexity that consumes excessive CPU cycles. (CVE-2026-4539)
- https://advisories.mageia.org/MGASA-2026-0090.html Vendor Advisory
- https://bugs.mageia.org/show_bug.cgi?id=35318 Third Party Advisory
- https://lists.opensuse.org/archives/list/[email protected]/me... Third Party Advisory
Published: 8 Apr 2026 · Updated: 8 Apr 2026 · First seen: 8 Apr 2026