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
- secalert@redhat.com — Issue Tracking, Patch, Third Party Advisory
- secalert@redhat.com — Mailing List, Third Party Advisory
- secalert@redhat.com — Mailing List, Third Party Advisory
- secalert@redhat.com — Third Party Advisory
- secalert@redhat.com — Not Applicable, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Not Applicable, Third Party Advisory