CVE-2023-24824 Quadratic complexity may lead to a denial of service in cmark-gfm
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time complexity issue in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. This CVE covers quadratic complexity issues when parsing text which leads with either large numbers of > or - characters. This issue has been addressed in version 0.29.0.gfm.10. Users are advised to upgrade. Users unable to upgrade should validate that their input comes from trusted sources.
Upgrade path
20 packages: 9 fixed, 11 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/cmark-gfm(Debian 12) | = 0.29.0.gfm.6-6; = 0.29.0.gfm.13-1; = 0.29.0.gfm.13-2; = 0.29.0.gfm.13-3 +4 more | No fix listed | No fix yet |
| debian/python-cmarkgfm(Debian 12) | = 0.8.0-3; = 2024.11.20-1; = 2025.10.22-1; = 2025.10.22-2 +1 more | No fix listed | No fix yet |
| debian/r-cran-commonmark(Debian 12) | = 1.8.1-1; = 1.9.0-1; = 1.9.1-1; = 1.9.2-1 +6 more | No fix listed | No fix yet |
| debian/ruby-commonmarker(Debian 12) | = 0.23.6-1; = 0.23.9-1; = 0.23.10-1; = 2.8.3-1 +7 more | No fix listed | No fix yet |
| ubuntu/cmark(Ubuntu 18.04) | = 0.26.1-1; All versions | No fix listed | No fix yet |
| ubuntu/cmark(Ubuntu 20.04) | = 0.28.3-1; = 0.29.0-1ubuntu2; = 0.29.0-2; All versions | No fix listed | No fix yet |
| ubuntu/cmark(Ubuntu 22.04) | = 0.29.0-4; = 0.30.2-3; = 0.30.2-4; = 0.30.2-5 +1 more | No fix listed | No fix yet |
| ubuntu/cmark(Ubuntu 24.04) | = 0.30.2-6; = 0.30.2-6build1; All versions | No fix listed | No fix yet |
| ubuntu/cmark(Ubuntu 25.10) | = 0.30.2-6build1; All versions | No fix listed | No fix yet |
| ubuntu/cmark(Ubuntu 26.04) | = 0.30.2-6build1; = 0.30.2-6build2; All versions | No fix listed | No fix yet |
| ubuntu/cmark(Ubuntu 26.10) | = 0.30.2-6build2; All versions | No fix listed | No fix yet |
| debian/cmark-gfm(Debian 13) | < 0.29.0.gfm.13-1 | 0.29.0.gfm.13-1 | Fixed |
| debian/cmark-gfm(Debian 14) | < 0.29.0.gfm.13-1 | 0.29.0.gfm.13-1 | Fixed |
| debian/python-cmarkgfm(Debian 13) | < 2024.11.20-1 | 2024.11.20-1 | Fixed |
| debian/python-cmarkgfm(Debian 14) | < 2024.11.20-1 | 2024.11.20-1 | Fixed |
| debian/r-cran-commonmark(Debian 13) | < 1.9.1-1 | 1.9.1-1 | Fixed |
| debian/r-cran-commonmark(Debian 14) | < 1.9.1-1 | 1.9.1-1 | Fixed |
| debian/ruby-commonmarker(Debian 13) | < 0.23.10-1 | 0.23.10-1 | Fixed |
| debian/ruby-commonmarker(Debian 14) | < 0.23.10-1 | 0.23.10-1 | Fixed |
| GitHub cmark-gfm | < 0.29.0.gfm.10.; = < 0.29.0.gfm.10 | 0.29.0.gfm.10. | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cmark-gfm(Debian:12) | All versions | No fix listed |
| debian/cmark-gfm(Debian:12) | = 0.29.0.gfm.13-1 | No fix listed |
| debian/cmark-gfm(Debian:12) | = 0.29.0.gfm.13-2 | No fix listed |
| debian/cmark-gfm(Debian:12) | = 0.29.0.gfm.13-3 | No fix listed |
| debian/cmark-gfm(Debian:12) | = 0.29.0.gfm.13-4 | No fix listed |
| debian/cmark-gfm(Debian:12) | = 0.29.0.gfm.13-7 | No fix listed |
| debian/cmark-gfm(Debian:12) | = 0.29.0.gfm.13-7.1 | No fix listed |
| debian/cmark-gfm(Debian:12) | = 0.29.0.gfm.6-6 | No fix listed |
| debian/cmark-gfm(Debian:13) | < 0.29.0.gfm.13-1 | 0.29.0.gfm.13-1 |
| debian/cmark-gfm(Debian:14) | < 0.29.0.gfm.13-1 | 0.29.0.gfm.13-1 |
| debian/python-cmarkgfm(Debian:12) | All versions | No fix listed |
| debian/python-cmarkgfm(Debian:12) | = 0.8.0-3 | No fix listed |
| debian/python-cmarkgfm(Debian:12) | = 2024.11.20-1 | No fix listed |
| debian/python-cmarkgfm(Debian:12) | = 2025.10.22-1 | No fix listed |
| debian/python-cmarkgfm(Debian:12) | = 2025.10.22-2 | No fix listed |
| debian/python-cmarkgfm(Debian:13) | < 2024.11.20-1 | 2024.11.20-1 |
| debian/python-cmarkgfm(Debian:14) | < 2024.11.20-1 | 2024.11.20-1 |
| debian/r-cran-commonmark(Debian:12) | All versions | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 1.8.1-1 | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 1.9.0-1 | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 1.9.1-1 | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 1.9.2-1 | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 1.9.2-2 | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 1.9.5-1 | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 2.0.0-1 | No fix listed |
Show 40 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/r-cran-commonmark(Debian:12) | = 2.0.0-2 | No fix listed |
| debian/r-cran-commonmark(Debian:12) | = 2.0.0-3 | No fix listed |
| debian/r-cran-commonmark(Debian:13) | < 1.9.1-1 | 1.9.1-1 |
| debian/r-cran-commonmark(Debian:14) | < 1.9.1-1 | 1.9.1-1 |
| debian/ruby-commonmarker(Debian:12) | All versions | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 0.23.10-1 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 0.23.6-1 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 0.23.9-1 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 2.10.0-1 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 2.10.0-2 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 2.10.1-1 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 2.8.3-1 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 2.8.3-2 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 2.8.3-3 | No fix listed |
| debian/ruby-commonmarker(Debian:12) | = 2.8.3-4 | No fix listed |
| debian/ruby-commonmarker(Debian:13) | < 0.23.10-1 | 0.23.10-1 |
| debian/ruby-commonmarker(Debian:14) | < 0.23.10-1 | 0.23.10-1 |
| GitHub cmark-gfm | = < 0.29.0.gfm.10 | No fix listed |
| ubuntu/cmark(Ubuntu:22.04) | All versions | No fix listed |
| GitHub cmark-gfm | < 0.29.0.gfm.10. | 0.29.0.gfm.10. |
| ubuntu/cmark(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cmark(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/cmark(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/cmark(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/cmark(Ubuntu:18.04) | = 0.26.1-1 | No fix listed |
| ubuntu/cmark(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/cmark(Ubuntu:20.04) | = 0.28.3-1 | No fix listed |
| ubuntu/cmark(Ubuntu:20.04) | = 0.29.0-1ubuntu2 | No fix listed |
| ubuntu/cmark(Ubuntu:20.04) | = 0.29.0-2 | No fix listed |
| ubuntu/cmark(Ubuntu:22.04) | = 0.29.0-4 | No fix listed |
| ubuntu/cmark(Ubuntu:22.04) | = 0.30.2-3 | No fix listed |
| ubuntu/cmark(Ubuntu:22.04) | = 0.30.2-4 | No fix listed |
| ubuntu/cmark(Ubuntu:22.04) | = 0.30.2-5 | No fix listed |
| ubuntu/cmark(Ubuntu:24.04) | = 0.30.2-6 | No fix listed |
| ubuntu/cmark(Ubuntu:24.04) | = 0.30.2-6build1 | No fix listed |
| ubuntu/cmark(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/cmark(Ubuntu:25.10) | = 0.30.2-6build1 | No fix listed |
| ubuntu/cmark(Ubuntu:26.10) | = 0.30.2-6build2 | No fix listed |
| ubuntu/cmark(Ubuntu:26.04) | = 0.30.2-6build1 | No fix listed |
| ubuntu/cmark(Ubuntu:26.04) | = 0.30.2-6build2 | No fix listed |
References
- Debian Security Tracker CVE-2023-24824 vendor-advisory
- https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh exploit issue-tracking vendor-advisory
- https://github.com/github/cmark-gfm/commit/2300c1bd2c8226108885bf019655c4159cf26b59 patch
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking