Vulnerability
CVE-2021-20270
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.
34 advisories report this vulnerability, across 12 ecosystems.
Advisories in openSUSE
-
openSUSE-SU-2021:1402-1
Security update for python-Pygments
-
openSUSE-SU-2026:11568-1
python313-Pygments-2.21.0-1.1 on GA media