CVE-2021-20270

HIGH
7.5
CVSS Score
Published: March 23, 2021 at 04:40 PM UTC
Updated: June 17, 2026 at 03:33 AM UTC
7 products affected across 4 vendorsDebian LinuxFedoraEnterprise Linux

Using python-pygments by N/A?

Get instant alerts when new vulnerabilities affect python-pygments - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

x_refsource_MISCIssue TrackingPatchThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1922136
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2021/dsa-4889
x_refsource_MISCNot ApplicableThird Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card