
CVE catalog
CVE-2020-5238
cmark-gfm: CVE-2020-5238
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.57% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cmark-gfm | sid | 0.29.0.gfm.13-7.1 | fixed |
| Debian | cmark-gfm | forky | 0.29.0.gfm.13-7.1 | fixed |
| Debian | cmark-gfm | trixie | 0.29.0.gfm.13-4 | fixed |
| Debian | cmark-gfm | bookworm | 0.29.0.gfm.6-6 | fixed |
| Debian | python-cmarkgfm | sid | 2025.10.22-2 | fixed |
| Debian | python-cmarkgfm | forky | 2025.10.22-2 | fixed |
| Debian | python-cmarkgfm | trixie | 2024.11.20-1 | fixed |
| Debian | python-cmarkgfm | bookworm | 0.8.0-3 | fixed |
| Debian | haskell-cmark-gfm | sid | 0.2.6+ds1-3 | fixed |
| Debian | haskell-cmark-gfm | forky | 0.2.6+ds1-3 | fixed |
| Debian | haskell-cmark-gfm | trixie | 0.2.6+ds1-1 | fixed |
| Debian | haskell-cmark-gfm | bookworm | 0.2.5+ds1-1 | fixed |
| Debian | r-cran-commonmark | sid | 2.0.0-3 | fixed |
| Debian | r-cran-commonmark | forky | 2.0.0-3 | fixed |
| Debian | r-cran-commonmark | trixie | 1.9.5-1 | fixed |
| Debian | r-cran-commonmark | bookworm | 1.8.1-1 | fixed |
| Debian | ruby-commonmarker | sid | 2.10.1-1 | fixed |
| Debian | ruby-commonmarker | forky | 2.10.0-2 | fixed |
| Debian | ruby-commonmarker | trixie | 0.23.10-1 | fixed |
| Debian | ruby-commonmarker | bookworm | 0.23.6-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cmark-gfm | source | sid | 0.29.0.gfm.2-1 | not yet assigned | Not reported | [965984] |
| Debian | cmark-gfm | source | forky | 0.29.0.gfm.2-1 | not yet assigned | Not reported | [965984] |
| Debian | cmark-gfm | source | trixie | 0.29.0.gfm.2-1 | not yet assigned | Not reported | [965984] |
| Debian | cmark-gfm | source | bookworm | 0.29.0.gfm.2-1 | not yet assigned | Not reported | [965984] |
| Debian | python-cmarkgfm | source | sid | 0.7.0-1 | not yet assigned | Not reported | [965983] |
| Debian | python-cmarkgfm | source | forky | 0.7.0-1 | not yet assigned | Not reported | [965983] |
| Debian | python-cmarkgfm | source | trixie | 0.7.0-1 | not yet assigned | Not reported | [965983] |
| Debian | python-cmarkgfm | source | bookworm | 0.7.0-1 | not yet assigned | Not reported | [965983] |
| Debian | haskell-cmark-gfm | source | sid | 0.2.1+ds1-1 | not yet assigned | Not reported | [965982] |
| Debian | haskell-cmark-gfm | source | forky | 0.2.1+ds1-1 | not yet assigned | Not reported | [965982] |
| Debian | haskell-cmark-gfm | source | trixie | 0.2.1+ds1-1 | not yet assigned | Not reported | [965982] |
| Debian | haskell-cmark-gfm | source | bookworm | 0.2.1+ds1-1 | not yet assigned | Not reported | [965982] |
| Debian | r-cran-commonmark | source | sid | 1.8.0-1 | not yet assigned | Not reported | [965980] |
| Debian | r-cran-commonmark | source | forky | 1.8.0-1 | not yet assigned | Not reported | [965980] |
| Debian | r-cran-commonmark | source | trixie | 1.8.0-1 | not yet assigned | Not reported | [965980] |
| Debian | r-cran-commonmark | source | bookworm | 1.8.0-1 | not yet assigned | Not reported | [965980] |
| Debian | ruby-commonmarker | source | sid | 0.21.0-1 | not yet assigned | Not reported | [965981] |
| Debian | ruby-commonmarker | source | forky | 0.21.0-1 | not yet assigned | Not reported | [965981] |
| Debian | ruby-commonmarker | source | trixie | 0.21.0-1 | not yet assigned | Not reported | [965981] |
| Debian | ruby-commonmarker | source | bookworm | 0.21.0-1 | not yet assigned | Not reported | [965981] |
[Debian bug #965984][Debian bug #965983][Debian bug #965982][Debian bug #965980][Debian bug #965981]
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [cmark-gfm]Fixed
Details (2)
0.29.0.gfm.6-6· amd64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
0.29.0.gfm.6-6· arm64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
- [libcmark-gfm0.29.0.gfm.6]Fixed
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.6-6· amd64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
0.29.0.gfm.6-6· arm64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
- [libcmark-gfm-dev]Fixed
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.6-6· amd64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
0.29.0.gfm.6-6· arm64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.6-6· amd64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
0.29.0.gfm.6-6· arm64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
- [libcmark-gfm-extensions-dev]Fixed
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.6-6· amd64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
0.29.0.gfm.6-6· arm64 · bookwormFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · bookworm; dsa · cmark-gfm · debian · 12
- [libghc-cmark-gfm-dev]Fixed
Source package: [haskell-cmark-gfm]
Details (2)
0.2.5+ds1-1+b1· amd64 · bookwormFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · bookworm; dsa · haskell-cmark-gfm · debian · 12
0.2.5+ds1-1+b1· arm64 · bookwormFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · bookworm; dsa · haskell-cmark-gfm · debian · 12
- [libghc-cmark-gfm-doc]Fixed
Source package: [haskell-cmark-gfm]
Details (2)
0.2.5+ds1-1· all · bookwormFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · bookworm; dsa · haskell-cmark-gfm · debian · 12
0.2.5+ds1-1· all · bookwormFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · bookworm; dsa · haskell-cmark-gfm · debian · 12
- [libghc-cmark-gfm-prof]Fixed
Source package: [haskell-cmark-gfm]
Details (2)
0.2.5+ds1-1+b1· amd64 · bookwormFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · bookworm; dsa · haskell-cmark-gfm · debian · 12
0.2.5+ds1-1+b1· arm64 · bookwormFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · bookworm; dsa · haskell-cmark-gfm · debian · 12
- [python3-cmarkgfm]Fixed
Source package: [python-cmarkgfm]
Details (2)
0.8.0-3· amd64 · bookwormFixed · Fixed:
0.7.0-1dsa · python-cmarkgfm · debian · bookworm; dsa · python-cmarkgfm · debian · 12
0.8.0-3· arm64 · bookwormFixed · Fixed:
0.7.0-1dsa · python-cmarkgfm · debian · bookworm; dsa · python-cmarkgfm · debian · 12
- [r-cran-commonmark]Fixed
Details (2)
1.8.1-1· amd64 · bookwormFixed · Fixed:
1.8.0-1dsa · r-cran-commonmark · debian · bookworm; dsa · r-cran-commonmark · debian · 12
1.8.1-1· arm64 · bookwormFixed · Fixed:
1.8.0-1dsa · r-cran-commonmark · debian · bookworm; dsa · r-cran-commonmark · debian · 12
- [ruby-commonmarker]Fixed
Source package: [ruby-commonmarker]
Details (2)
0.23.6-1+b1· amd64 · bookwormFixed · Fixed:
0.21.0-1dsa · ruby-commonmarker · debian · bookworm; dsa · ruby-commonmarker · debian · 12
0.23.6-1+b1· arm64 · bookwormFixed · Fixed:
0.21.0-1dsa · ruby-commonmarker · debian · bookworm; dsa · ruby-commonmarker · debian · 12
[Debian 13 (Trixie)]
- [cmark-gfm]Fixed
Details (2)
0.29.0.gfm.13-4· amd64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
0.29.0.gfm.13-4· arm64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
- [libcmark-gfm0.29.0.gfm.13]Fixed
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.13-4· amd64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
0.29.0.gfm.13-4· arm64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
- [libcmark-gfm-dev]Fixed
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.13-4· amd64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
0.29.0.gfm.13-4· arm64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.13-4· amd64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
0.29.0.gfm.13-4· arm64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
- [libcmark-gfm-extensions-dev]Fixed
Source package: [cmark-gfm]
Details (2)
0.29.0.gfm.13-4· amd64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
0.29.0.gfm.13-4· arm64 · trixieFixed · Fixed:
0.29.0.gfm.2-1dsa · cmark-gfm · debian · 13
- [libghc-cmark-gfm-dev]Fixed
Source package: [haskell-cmark-gfm]
Details (2)
0.2.6+ds1-1· amd64 · trixieFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · 13
0.2.6+ds1-1· arm64 · trixieFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · 13
- [libghc-cmark-gfm-doc]Fixed
Source package: [haskell-cmark-gfm]
Details (2)
0.2.6+ds1-1· all · trixieFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · 13
0.2.6+ds1-1· all · trixieFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · 13
- [libghc-cmark-gfm-prof]Fixed
Source package: [haskell-cmark-gfm]
Details (2)
0.2.6+ds1-1· amd64 · trixieFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · 13
0.2.6+ds1-1· arm64 · trixieFixed · Fixed:
0.2.1+ds1-1dsa · haskell-cmark-gfm · debian · 13
- [python3-cmarkgfm]Fixed
Source package: [python-cmarkgfm]
Details (2)
2024.11.20-1· amd64 · trixieFixed · Fixed:
0.7.0-1dsa · python-cmarkgfm · debian · 13
2024.11.20-1· arm64 · trixieFixed · Fixed:
0.7.0-1dsa · python-cmarkgfm · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_1972.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-5238]
- [https://security-tracker.debian.org/tracker/CVE-2020-5238]
- [https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-5238.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]