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.
Metrics
Affected Vendors & Products
Advisories
Source | ID | Title |
---|---|---|
![]() |
DLA-2590-1 | pygments security update |
![]() |
DLA-2648-1 | mediawiki security update |
![]() |
DLA-2648-2 | mediawiki regression update |
![]() |
DSA-4870-1 | pygments security update |
![]() |
DSA-4889-1 | mediawiki security update |
![]() |
EUVD-2021-0207 | 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. |
![]() |
GHSA-9w8r-397f-prfh | Infinite Loop in Pygments |
![]() |
USN-4885-1 | Pygments vulnerability |
![]() |
USN-4897-2 | Pygments vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.

Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2024-08-03T17:37:23.034Z
Reserved: 2020-12-17T00:00:00
Link: CVE-2021-20270

No data.

Status : Modified
Published: 2021-03-23T17:15:13.827
Modified: 2024-11-21T05:46:15.097
Link: CVE-2021-20270


No data.