Search CVE reports


Toggle filters

1 – 5 of 5 results


CVE-2026-4539

Low priority
Needs evaluation

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....

1 affected package

pygments

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
pygments Needs evaluation Needs evaluation Needs evaluation Needs evaluation
Show less packages

CVE-2022-40896

Medium priority

Some fixes available 1 of 6

A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.

1 affected package

pygments

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
pygments Not affected Fixed Ignored Ignored
Show less packages

CVE-2021-27291

Medium priority

Some fixes available 15 of 29

In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By...

2 affected packages

eric, pygments

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
eric Vulnerable Vulnerable Needs evaluation Needs evaluation
pygments Fixed Fixed Fixed Fixed
Show less packages

CVE-2021-20270

Medium priority
Fixed

An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.

1 affected package

pygments

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
pygments Fixed Fixed Fixed
Show less packages

CVE-2015-8557

Medium priority
Fixed

The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.

1 affected package

pygments

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
pygments
Show less packages