What’s Vulnerable › Vulnerabilities
CVE-2023-22483: cmark-gfm Quadratic complexity bugs may lead to a denial of service
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-01-23 · updated 2026-06-17
- Weakness: CWE-400
Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 are subject to several polynomial time complexity issues in cmark-gfm that may lead to unbounded resource exhaustion and subsequent denial of service. Various commands, when piped to cmark-gfm with large values, cause the running time to increase quadratically. These vulnerabilities have been patched in version 0.29.0.gfm.7.
Affected products
- github cmark-gfm: before 0.29.0.gfm.7 — fixed in 0.29.0.gfm.7
How to fix
Upgrade to a fixed version: github cmark-gfm 0.29.0.gfm.7. Check the vendor advisory for mitigations.
References
- https://github.com/github/cmark-gfm/security/advisories/GHSA-29g3-96g3-jg6c
- https://github.com/github/cmark-gfm/security/advisories/GHSA-29g3-96g3-jg6c
Get alerted when CVE-2023-22483 or the next vulnerability affects your stack