Approved changes feed: RSS · Atom
cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Github (b5027ca2-9bb9-532e-8779-8399b14c3e3b) |
|---|---|
| Product | Cmark Gfm (6eb4f4d2-c46f-523a-8128-7f95483712c0) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last 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
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2024-22051 |
vulnerable | 2026-06-03 14:54:59.535739 |
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: 2025-11-29T01:23:09.095Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-37463 |
vulnerable | 2026-06-03 14:52:28.921964 |
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 |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-26485 |
vulnerable | 2026-06-03 14:50:59.800281 |
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 |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-24824 |
vulnerable | 2026-06-03 14:49:30.453340 |
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 |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-22486 |
vulnerable | 2026-06-03 14:49:19.476565 |
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 |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-22485 |
vulnerable | 2026-06-03 14:49:19.476184 |
cmark-gfm out-of-bounds read in validate_protocol
MEDIUM (5.3)
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `validate_protocol` function. We believe this bug is harmless in practice, because the out-of-bounds read accesses `malloc` metadata without causing any visible damage.This vulnerability has been patched in 0.29.0.gfm.7.
Published: 2023-01-24T00:26:57.671Z
Updated: 2025-03-10T21:20:51.304Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-22484 |
vulnerable | 2026-06-03 14:49:19.475771 |
Inefficient Quadratic complexity bug in handle_pointy_brace 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 are subject to a polynomial time complexity issue in cmark-gfm 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-23T22:42:57.790Z
Updated: 2025-03-10T21:20:57.334Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-22483 |
vulnerable | 2026-06-03 14:49:19.475311 |
cmark-gfm Quadratic complexity bugs 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 are subject to several polynomial time complexity issues in cmark-gfm that may lead to unbounded resource exhaustion and subsequent denial of service. Various commands, when piped to cmark-gfm with large values, cause the running time to increase quadratically. These vulnerabilities have been patched in version 0.29.0.gfm.7.
Published: 2023-01-23T22:36:14.574Z
Updated: 2025-03-10T21:21:03.509Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-39209 |
vulnerable | 2026-06-03 14:47:51.241701 |
Uncontrolled Resource Consumption in cmark-gfm
HIGH (7.5)
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to 0.29.0.gfm.6 a polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. Users may verify the patch by running `python3 -c 'print("![l"* 100000 + "\n")' | ./cmark-gfm -e autolink`, which will resource exhaust on unpatched cmark-gfm but render correctly on patched cmark-gfm. This vulnerability has been patched in 0.29.0.gfm.6. Users are advised to upgrade. Users unable to upgrade should disable the use of the autolink extension.
Published: 2022-09-15T00:00:00.000Z
Updated: 2025-04-23T17:10:11.051Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-24724 |
vulnerable | 2026-06-03 14:46:31.036246 |
Integer overflow in table parsing extension leads to heap memory corruption
HIGH (8.8)
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Prior to versions 0.29.0.gfm.3 and 0.28.3.gfm.21, an integer overflow in cmark-gfm's table row parsing `table.c:row_from_string` may lead to heap memory corruption when parsing tables who's marker rows contain more than UINT16_MAX columns. The impact of this heap corruption ranges from Information Leak to Arbitrary Code Execution depending on how and where `cmark-gfm` is used. If `cmark-gfm` is used for rendering remote user controlled markdown, this vulnerability may lead to Remote Code Execution (RCE) in applications employing affected versions of the `cmark-gfm` library. This vulnerability has been patched in the following cmark-gfm versions 0.29.0.gfm.3 and 0.28.3.gfm.21. A workaround is available. The vulnerability exists in the table markdown extensions of cmark-gfm. Disabling the table extension will prevent this vulnerability from being triggered.
Published: 2022-03-03T19:35:09.000Z
Updated: 2025-04-22T18:20:59.594Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2020-5238 |
vulnerable | 2026-06-03 14:42:55.325106 |
Denial of service in table parsing in cmark-gfm
MEDIUM (6.5)
The table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 takes O(n * n) time to parse certain inputs. An attacker could craft a markdown table which would take an unreasonably long time to process, causing a denial of service. This issue does not affect the upstream cmark project. The issue has been fixed in version 0.29.0.gfm.1.
Published: 2020-07-01T23:05:15.000Z
Updated: 2024-08-04T08:22:09.078Z Reference links
|
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.