Approved changes feed: RSS · Atom

cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorGithub (b5027ca2-9bb9-532e-8779-8399b14c3e3b)
ProductCmark Gfm (6eb4f4d2-c46f-523a-8128-7f95483712c0)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/cmark-gfm purl2cpe 2026-06-01 10:15:25.071289
pkg:deb/ubuntu/cmark-gfm purl2cpe 2026-06-01 10:15:25.071293
pkg:github/commonmark/cmark purl2cpe 2026-06-01 10:15:25.071295
pkg:github/github/cmark-gfm purl2cpe 2026-06-01 10:15:25.071298
pkg:rpm/opensuse/cmark-gfm purl2cpe 2026-06-01 10:15:25.071301

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2024-22051 vulnerable 2026-06-08 06:29:33.490852 CommonMarker Integer Overflow Vulnerability
CommonMarker versions prior to 0.23.4 are at risk of an integer overflow vulnerability. This vulnerability can result in possibly unauthenticated remote attackers to cause heap memory corruption, potentially leading to an information leak or remote code execution, via parsing tables with marker rows that contain more than UINT16_MAX columns.
Published: 2024-01-04T20:27:22.197Z
Updated: 2026-07-14T22:54:40.657Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-37463 vulnerable 2026-06-08 06:08:15.345180 Quadratic complexity bugs may lead to a denial of service
MEDIUM (6.4)
cmark-gfm is an extended version of the C reference implementation of CommonMark, a rationalized version of Markdown syntax with a spec. Three polynomial time complexity issues in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. These vulnerabilities have been patched in 0.29.0.gfm.12.
Published: 2023-07-13T19:22:16.654Z
Updated: 2024-10-30T18:48:32.341Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-26485 vulnerable 2026-06-08 05:57:39.793021 Quadratic complexity may lead to a denial of service in cmark-gfm
MEDIUM (5.3)
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 `_` 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. ### Impact A polynomial time complexity issue in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. ### Proof of concept ``` $ ~/cmark-gfm$ python3 -c 'pad = "_" * 100000; print(pad + "." + pad, end="")' | time ./build/src/cmark-gfm --to plaintext ``` Increasing the number 10000 in the above commands causes the running time to increase quadratically. ### Patches This vulnerability have been patched in 0.29.0.gfm.10. ### Note on cmark and cmark-gfm XXX: TBD [cmark-gfm](https://github.com/github/cmark-gfm) is a fork of [cmark](https://github.com/commonmark/cmark) that adds the GitHub Flavored Markdown extensions. The two codebases have diverged over time, but share a common core. These bugs affect both `cmark` and `cmark-gfm`. ### Credit We would like to thank @gravypod for reporting this vulnerability. ### References https://en.wikipedia.org/wiki/Time_complexity ### For more information If you have any questions or comments about this advisory: * Open an issue in [github/cmark-gfm](https://github.com/github/cmark-gfm)
Published: 2023-03-31T22:01:16.350Z
Updated: 2025-02-11T17:20:37.921Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24824 vulnerable 2026-06-08 05:56:06.284629 Quadratic complexity may lead to a denial of service in cmark-gfm
MEDIUM (5.3)
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.
Published: 2023-03-31T22:01:18.220Z
Updated: 2025-02-11T17:19:40.510Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-22486 vulnerable 2026-06-08 05:54:26.417865 cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service
LOW (3.5)
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.
Published: 2023-01-24T02:30:29.099Z
Updated: 2025-03-10T21:20:44.634Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-22485 vulnerable 2026-06-08 05:54:26.417520 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-22484 vulnerable 2026-06-08 05:54:26.417149 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-22483 vulnerable 2026-06-08 05:54:26.416727 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-39209 vulnerable 2026-06-08 05:47:18.347731 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24724 vulnerable 2026-06-08 05:41:01.440222 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5238 vulnerable 2026-06-08 05:26:41.567951 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.