CVE-2023-22486: cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service
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 handleclosebracket that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-22486?
CVE-2023-22486 is a vulnerability in cmark-gfm, a CommonMark parsing and rendering library and program in C, that can lead to unbounded resource exhaustion and subsequent denial of service.
What is the severity of CVE-2023-22486?
The severity of CVE-2023-22486 is high with a score of 7.5 out of 10.
How does CVE-2023-22486 affect cmark-gfm?
Versions prior to 0.29.0.gfm.7 of cmark-gfm are affected by CVE-2023-22486.
How can CVE-2023-22486 be exploited?
CVE-2023-22486 can be exploited by an attacker to exploit the polynomial time complexity issue in handle_close_bracket, causing unbounded resource exhaustion.
Is there a fix available for CVE-2023-22486?
Yes, upgrading to version 0.29.0.gfm.7 or later of cmark-gfm fixes the vulnerability.