CVE-2023-24824
published medium CVSS 3.1 · 5.3Quadratic complexity may lead to a denial of service in cmark-gfm
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| github | — | cmark-gfm< 0.29.0.gfm.10 | Affected | Not stated | GitHub_M |
| AlmaLinux | 8 | pandoc | Advisory build | 2.0.6-7.el8_10 | ALSA-2025:8427 |
| Red Hat Enterprise Linux | RHEL-8 | pandocaarch64 | Advisory build | 2.0.6-7.el8_10 | RHSA-2025:8427 |
| Rocky Linux | 8 | pandocaarch64 | Listed in advisory | Not stated | RLSA-2025:8427 |
| AlmaLinux | 8 | pandoc-common | Advisory build | 2.0.6-7.el8_10 | ALSA-2025:8427 |
| Red Hat Enterprise Linux | RHEL-8 | pandocppc64le | Advisory build | 2.0.6-7.el8_10 | RHSA-2025:8427 |
| Red Hat Enterprise Linux | RHEL-8 | pandocs390x | Advisory build | 2.0.6-7.el8_10 | RHSA-2025:8427 |
| Red Hat Enterprise Linux | RHEL-8 | pandocsrc | Advisory build | 2.0.6-7.el8_10 | RHSA-2025:8427 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | pandocx86_64 | Advisory build | 2.0.6-7.el8_10 | RHSA-2025:8427 |
| Red Hat Enterprise Linux | RHEL-8 | pandoc-commonnoarch | Advisory build | 2.0.6-7.el8_10 | RHSA-2025:8427 |
| Rocky Linux | 8 | pandocsrc | Listed in advisory | Not stated | RLSA-2025:8427 |
| Rocky Linux | 8 | pandocx86_64 | Listed in advisory | Not stated | RLSA-2025:8427 |
| Rocky Linux | 8 | pandoc-commonnoarch | Listed in advisory | Not stated | RLSA-2025:8427 |
Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time complexity issue in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. This CVE covers quadratic complexity issues when parsing text which leads with either large numbers of `>` or `-` characters. This issue has been addressed in version 0.29.0.gfm.10. Users are advised to upgrade. Users unable to upgrade should validate that their input comes from trusted sources.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| github | cmark-gfm | < 0.29.0.gfm.10 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
2Provider assertions
3GitHub_M · cna
Quadratic complexity may lead to a denial of service in cmark-gfm
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d3757601ac2052e05c3baf5001caaa2b103945ac51929c32940548ebb7e60dce
- Ingested
- 23 Sep 2026, 08:06:44 UTC
- Source record
- Official CVE record