CVE-2020-5238

Denial of service in table parsing in cmark-gfm

MEDIUM
6.5
CVSS Score
Published: July 1, 2020 at 11:05 PM UTC
Updated: June 17, 2026 at 03:21 AM UTC
3 products affected across 3 vendorsFedoraGitHub Flavored MarkdownCmark Gfm

Using cmark-gfm by github?

Get instant alerts when new vulnerabilities affect cmark-gfm - before attackers find them.

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

Description

The table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 takes O(n * n) time to parse certain inputs. An attacker could craft a markdown table which would take an unreasonably long time to process, causing a denial of service. This issue does not affect the upstream cmark project. The issue has been fixed in version 0.29.0.gfm.1.

Affected

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

v < 0.29.0.gfm.1
Affected range stops below 0.29.0.gfm.1, so it looks safe — our inference, not a vendor statement
Cmark Gfm· GitHubgithub-action
60%
v < 0.29.0.gfm.1
Affected range stops below 0.29.0.gfm.1, so it looks safe — our inference, not a vendor statement

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-20

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