{"id":"UBUNTU-CVE-2023-24824","details":"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 `\u003e` 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.","modified":"2026-05-20T16:13:19.107190699Z","published":"2023-03-31T23:15:00Z","upstream":["CVE-2023-24824"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-24824"},{"type":"REPORT","url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-24824"}],"affected":[{"package":{"name":"cmark","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cmark?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.26.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.26.1-1","binary_name":"cmark"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"}},{"package":{"name":"cmark","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cmark?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.28.3-1","0.29.0-1ubuntu2","0.29.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"cmark","binary_version":"0.29.0-2"},{"binary_name":"libcmark0.29.0","binary_version":"0.29.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"}},{"package":{"name":"cmark","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cmark?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.29.0-4","0.30.2-3","0.30.2-4","0.30.2-5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.30.2-5","binary_name":"cmark"},{"binary_name":"libcmark0.30.2","binary_version":"0.30.2-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"}},{"package":{"name":"cmark","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/cmark?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.30.2-6","0.30.2-6build1"],"ecosystem_specific":{"binaries":[{"binary_name":"cmark","binary_version":"0.30.2-6build1"},{"binary_version":"0.30.2-6build1","binary_name":"libcmark0.30.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"}},{"package":{"name":"cmark","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/cmark?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.30.2-6build1"],"ecosystem_specific":{"binaries":[{"binary_name":"cmark","binary_version":"0.30.2-6build1"},{"binary_version":"0.30.2-6build1","binary_name":"libcmark0.30.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"}},{"package":{"name":"cmark","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/cmark?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.30.2-6build1","0.30.2-6build2"],"ecosystem_specific":{"binaries":[{"binary_name":"cmark","binary_version":"0.30.2-6build2"},{"binary_name":"libcmark0.30.2","binary_version":"0.30.2-6build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}