A polynomial time complexity issue in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. This issue is caused by quadratic complexity when parsing text that leads with large numbers of ` ` characters. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
The issue can be exploited by parsing text with large numbers of ` ` characters, which can cause the program to consume excessive resources. The `validate protocol` function is also vulnerable to an out-of-bounds read, but this is considered less harmful.