ADVISORIES

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 Debian

  • DEBIAN-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…

    CVE-2021-20270 Debian Updated 23 October 2026
  • DLA-2590-1

    pygments - security update

    CVE-2021-20270 Debian Updated 20 November 2026
  • DLA-2648-1

    mediawiki - security update

    CVE-2021-20270CVE-2021-27291CVE-2021-30152CVE-2021-30155 Debian Updated 20 November 2026
  • DSA-4870-1

    pygments - security update

    CVE-2021-20270 Debian Updated 20 November 2026
  • DSA-4889-1

    mediawiki - security update

    CVE-2021-20270CVE-2021-27291CVE-2021-30152CVE-2021-30154 Debian Updated 20 November 2026

References