VULNERABILITY INTELLIGENCE

CVE-2021-20270

CVSS score7.5 HIGH
EPSS probability2.76%
CISA KEVNot currently listed
Published2021-03-23
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Weakness classification

  • secalert@redhat.com: CWE-835
  • nvd@nist.gov: CWE-835

Primary references