cve.bz

CVE-2023-24824 github cmark-gfm: Uncontrolled Resource Consumption

7.5 highExploit referenceEPSS 1.0%Fix available

High (7.5) in github cmark-gfm. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-02-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-24824 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-24824?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-24824?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-24824 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
github:cmark-gfmbefore 0.29.0.gfm.10.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cmark-gfm, python-cmarkgfm, r-cran-commonmark and 1 moreno fix listedDEBIAN-CVE-2023-24824
Debian13, 14cmark-gfm0.29.0.gfm.13-1DEBIAN-CVE-2023-24824
Debian13, 14python-cmarkgfm2024.11.20-1DEBIAN-CVE-2023-24824
Debian13, 14r-cran-commonmark1.9.1-1DEBIAN-CVE-2023-24824
Debian13, 14ruby-commonmarker0.23.10-1DEBIAN-CVE-2023-24824
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morecmarkno fix listedUBUNTU-CVE-2023-24824
Red Hatenterprise_linux:8::crbpandoc, pandoc-common0:2.0.6-7.el8_10RHSA-2025:8427
AlmaLinux8pandoc, pandoc-common2.0.6-7.el8_10ALSA-2025:8427
Rocky Linux8pandoc0:2.0.6-7.el8_10RLSA-2025:8427

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability can cause a potential denial of service (DoS) issue, but it can be classified as Moderate rather than Important due to a few key factors. First, the vulnerability specifically targets input with large numbers of specific characters (`>` or `-`), which means it is highly context-dependent and unlikely to be triggered by typical use cases. In practice, the majority of markdown documents are unlikely to contain these patterns in excessive quantities. Furthermore, the issue requires input from untrusted or malicious sources to be exploited, as normal, well-formed markdown documents will not trigger the problem.

While the quadratic time complexity can lead to significant resource exhaustion under certain conditions, it does not inherently enable arbitrary code execution or direct access to sensitive system resources.

Red Hat's mitigation

No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pandoc-0:2.0.6-7.el8_10Fixed 2025-06-03RHSA-2025:8427
Red Hat 3scale API Management Platform 2commonmarkerWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-24824.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON