VYPR
High severity7.5NVD Advisory· Published Mar 23, 2021· Updated Jun 17, 2026

CVE-2021-20270

CVE-2021-20270

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
PygmentsPyPI
>= 1.5, < 2.7.42.7.4

Affected products

92

Patches

Vulnerability mechanics

References

9

News mentions

0

No linked articles in our index yet.