
CVE catalog
CVE-2023-22486
cmark-gfm vulnerabilities
- Severity
- Medium · CVSS 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.11% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cmark-gfm | sid | 0.29.0.gfm.13-7.1 | fixed |
| Debian | cmark-gfm | forky | 0.29.0.gfm.13-7.1 | fixed |
| Debian | cmark-gfm | trixie | 0.29.0.gfm.13-4 | fixed |
| Debian | cmark-gfm | bookworm | 0.29.0.gfm.6-6 | vulnerable |
| Debian | python-cmarkgfm | sid | 2025.10.22-2 | fixed |
| Debian | python-cmarkgfm | forky | 2025.10.22-2 | fixed |
| Debian | python-cmarkgfm | trixie | 2024.11.20-1 | fixed |
| Debian | python-cmarkgfm | bookworm | 0.8.0-3 | vulnerable |
| Debian | r-cran-commonmark | sid | 2.0.0-3 | fixed |
| Debian | r-cran-commonmark | forky | 2.0.0-3 | fixed |
| Debian | r-cran-commonmark | trixie | 1.9.5-1 | fixed |
| Debian | r-cran-commonmark | bookworm | 1.8.1-1 | vulnerable |
| Debian | ruby-commonmarker | sid | 2.10.1-1 | fixed |
| Debian | ruby-commonmarker | forky | 2.10.0-2 | fixed |
| Debian | ruby-commonmarker | trixie | 0.23.10-1 | fixed |
| Debian | ruby-commonmarker | bookworm | 0.23.6-1 | vulnerable |
| Ubuntu | cmark-gfm | noble | Not reported | vulnerable |
| Ubuntu | python-cmarkgfm | noble | Not reported | vulnerable |
| Ubuntu | r-cran-commonmark | noble | Not reported | vulnerable |
| Ubuntu | ruby-commonmarker | noble | Not reported | vulnerable |
| Ubuntu | cmark-gfm | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | libcmark-gfm-dev | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | libcmark-gfm-extensions-dev | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | libcmark-gfm-extensions0.29.0.gfm.6 | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | libcmark-gfm0.29.0.gfm.6 | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | fixed |
| Suse | cmark | linux enterprise module for development tools 15 sp4 | 0.30.2-150400.3.3.1 | fixed |
| Suse | cmark | linux enterprise module for package hub 15 sp4 | 0.30.2-150400.3.3.1 | fixed |
| Opensuse | cmark | leap 15.4 | 0.30.2-150400.3.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cmark-gfm | source | sid | 0.29.0.gfm.13-1 | not yet assigned | Not reported | [1033110] |
| Debian | cmark-gfm | source | forky | 0.29.0.gfm.13-1 | not yet assigned | Not reported | [1033110] |
| Debian | cmark-gfm | source | trixie | 0.29.0.gfm.13-1 | not yet assigned | Not reported | [1033110] |
| Debian | cmark-gfm | source | bookworm | (unfixed) | not yet assigned | Not reported | [1033110] |
| Debian | python-cmarkgfm | source | sid | 2024.11.20-1 | not yet assigned | Not reported | [1033111] |
| Debian | python-cmarkgfm | source | forky | 2024.11.20-1 | not yet assigned | Not reported | [1033111] |
| Debian | python-cmarkgfm | source | trixie | 2024.11.20-1 | not yet assigned | Not reported | [1033111] |
| Debian | python-cmarkgfm | source | bookworm | (unfixed) | not yet assigned | Not reported | [1033111] |
| Debian | r-cran-commonmark | source | sid | 1.9.0-1 | not yet assigned | Not reported | [1033112] |
| Debian | r-cran-commonmark | source | forky | 1.9.0-1 | not yet assigned | Not reported | [1033112] |
| Debian | r-cran-commonmark | source | trixie | 1.9.0-1 | not yet assigned | Not reported | [1033112] |
| Debian | r-cran-commonmark | source | bookworm | (unfixed) | not yet assigned | Not reported | [1033112] |
| Debian | ruby-commonmarker | source | sid | 0.23.10-1 | not yet assigned | Not reported | [1033113] |
| Debian | ruby-commonmarker | source | forky | 0.23.10-1 | not yet assigned | Not reported | [1033113] |
| Debian | ruby-commonmarker | source | trixie | 0.23.10-1 | not yet assigned | Not reported | [1033113] |
| Debian | ruby-commonmarker | source | bookworm | (unfixed) | not yet assigned | Not reported | [1033113] |
| Ubuntu | cmark-gfm | deb | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libcmark-gfm-dev | deb | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libcmark-gfm-extensions-dev | deb | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libcmark-gfm-extensions0.29.0.gfm.6 | deb | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libcmark-gfm0.29.0.gfm.6 | deb | noble | 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Suse | cmark | rpm | linux enterprise module for development tools 15 sp4 | 0.30.2-150400.3.3.1 | Not reported | SUSE-SU-2023:1834-1 | Not reported |
| Suse | cmark | rpm | linux enterprise module for package hub 15 sp4 | 0.30.2-150400.3.3.1 | Not reported | SUSE-SU-2023:1834-1 | Not reported |
| Opensuse | cmark | rpm | leap 15.4 | 0.30.2-150400.3.3.1 | Not reported | SUSE-SU-2023:1834-1 | Not reported |
[Debian bug #1033110][Debian bug #1033111][Debian bug #1033112][Debian bug #1033113]
Notes
[bookworm] cmark-gfm: Minor issue [bookworm] python-cmarkgfm: Minor issue [bookworm] r-cran-commonmark: Minor issue [bookworm] ruby-commonmarker: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_1834-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-22486]
- [https://osv.dev/vulnerability/SUSE-SU-2023:1834-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-22486]
- [https://ubuntu.com/security/notices/USN-7319-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]