3.5low
cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service
- Severity
- 3.5low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.16% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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 contain a polynomial time complexity issue in handle_close_bracket that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github cmark-gfm | < 0.29.0.gfm.7, before 0.29.0.gfm.7 | CVE List, NVD |
All scores
| GitHub_M | 3.5low CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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 contain a polynomial time complexity issue in handle_close_bracket that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7.
NVD (es)
cmark-gfm es la bifurcación de GitHub de cmark, una librería y programa de análisis y representación de CommonMark en C. Las versiones anteriores a 0.29.0.gfm.7 contienen un problema de complejidad de tiempo polinomial en handle_close_bracket que puede provocar un agotamiento ilimitado de los recursos y una posterior denegación de servicio. Esta vulnerabilidad ha sido parcheada en 0.29.0.gfm.7.
References
| https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-22486 changed 2025-03-10 | CVE Terms of Use |
| NVD | CVE-2023-22486 changed 2026-06-17 | Public domain |