# CVE-2023-22486: cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.16%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-24T02:30:29.099Z
- Modified: 2026-06-17T05:35:33.907Z
- Weaknesses: CWE-400, CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- github cmark-gfm: < 0.29.0.gfm.7; before 0.29.0.gfm.7

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2023-22486](https://www.cve.org/CVERecord?id=CVE-2023-22486), CVE Terms of Use, modified 2025-03-10
- NVD: [CVE-2023-22486](https://nvd.nist.gov/vuln/detail/CVE-2023-22486), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22486 · Whole record: https://cve.day/CVE-2023-22486.json · Rebuilt by cve.day 2026-11-25T22:58:21.725Z
