GHSA-9w8r-397f-prfhHighCVSS 7.5

Infinite Loop in Pygments

Published
April 20, 2021
Last Modified
October 14, 2024

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • pip/Pygments:>= 1.5, < 2.7.4

🔗 References (9)