cmark — security advisory
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.
- Products
- cmark
- Affected versions
- 0.26.1-1, 0.28.3-1, 0.29.0-1ubuntu2, 0.29.0-2, 0.29.0-4, 0.30.2-3, 0.30.2-4, 0.30.2-5, 0.30.2-6, 0.30.2-6build1, 0.30.2-6build2
- Fixed versions
- Not specified
- CVEs
- CVE-2023-24824
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:49 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2023-24824
cmark
Fixed versions: Not specified
cmark
Fixed versions: Not specified
cmark
Fixed versions: Not specified
cmark
Fixed versions: Not specified
cmark
Fixed versions: Not specified
cmark
Fixed versions: Not specified
cmark
Fixed versions: Not specified
Complete source record
{
"id": "8b016a6ac2baf5c474e4c1738ebc621005feda31a4171a526dc107a4889bd4e8",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-24824",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-24824",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2023-24824",
"products": [
{
"name": {
"value": "cmark",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.26.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "cmark",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.28.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.29.0-1ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "0.29.0-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "cmark",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.29.0-4",
"evidence": "/affected/2/versions"
},
{
"value": "0.30.2-3",
"evidence": "/affected/2/versions"
},
{
"value": "0.30.2-4",
"evidence": "/affected/2/versions"
},
{
"value": "0.30.2-5",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "cmark",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.30.2-6",
"evidence": "/affected/3/versions"
},
{
"value": "0.30.2-6build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "cmark",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.30.2-6build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "cmark",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.30.2-6build2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "cmark",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.30.2-6build1",
"evidence": "/affected/6/versions"
},
{
"value": "0.30.2-6build2",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2023-24824",
"aliases": [
"UBUNTU-CVE-2023-24824"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cmark",
"purl": "pkg:deb/ubuntu/cmark?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.26.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark",
"binary_version": "0.26.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cmark",
"purl": "pkg:deb/ubuntu/cmark?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.28.3-1",
"0.29.0-1ubuntu2",
"0.29.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark",
"binary_version": "0.29.0-2"
},
{
"binary_name": "libcmark0.29.0",
"binary_version": "0.29.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cmark",
"purl": "pkg:deb/ubuntu/cmark?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.29.0-4",
"0.30.2-3",
"0.30.2-4",
"0.30.2-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark",
"binary_version": "0.30.2-5"
},
{
"binary_name": "libcmark0.30.2",
"binary_version": "0.30.2-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cmark",
"purl": "pkg:deb/ubuntu/cmark?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.30.2-6",
"0.30.2-6build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark",
"binary_version": "0.30.2-6build1"
},
{
"binary_name": "libcmark0.30.2",
"binary_version": "0.30.2-6build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cmark",
"purl": "pkg:deb/ubuntu/cmark?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.30.2-6build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark",
"binary_version": "0.30.2-6build1"
},
{
"binary_name": "libcmark0.30.2",
"binary_version": "0.30.2-6build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cmark",
"purl": "pkg:deb/ubuntu/cmark?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.30.2-6build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark",
"binary_version": "0.30.2-6build2"
},
{
"binary_name": "libcmark0.30.2",
"binary_version": "0.30.2-6build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cmark",
"purl": "pkg:deb/ubuntu/cmark?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.30.2-6build1",
"0.30.2-6build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark",
"binary_version": "0.30.2-6build2"
},
{
"binary_name": "libcmark0.30.2",
"binary_version": "0.30.2-6build2"
}
]
}
}
],
"modified": "2026-10-17T12:56:04.519464969Z",
"provider": "osv",
"upstream": [
"CVE-2023-24824"
],
"references": [
"https://ubuntu.com/security/CVE-2023-24824",
"https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh",
"https://www.cve.org/CVERecord?id=CVE-2023-24824"
]
},
"related_cves": [
{
"value": "CVE-2023-24824",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 354772,
"published_at": "2023-03-31T23:15:00+00:00"
}