VDB
PYSEC-2021-140
PYSEC-2021-140
PUBLISHED
CVSS 9.300000190734863 CRITICAL
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.
Risk Scores
CVSS v4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | pygments | 1.5, 1.5, 1.6 |
Timeline
- Mar 23, 2021 CVE Published
- Nov 8, 2023 CVE Updated
- May 1, 2026 Distribution Patch
- May 1, 2026 Security Advisory
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1922136 report
- https://github.com/advisories/GHSA-9w8r-397f-prfh advisory
- https://www.debian.org/security/2021/dsa-4889 advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html advisory