Skip to content
OpenAdvisories
High USN-7319-1 5 CVEs

cmark-gfm vulnerabilities

Published Mar 3, 2025 · Updated Apr 27, 2026

Summary

It was discovered that cmark-gfm's autolink extension did not correctly
handle parsing large inputs. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 20.04 LTS
and Ubuntu 22.04 LTS. (CVE-2022-39209)

It was discovered that cmark-gfm did not correctly handle parsing large
inputs. An attacker could possibly use this issue to cause a denial of
service. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and
Ubuntu 24.10. (CVE-2023-22483)

It was discovered that cmark-gfm did not correctly handle parsing large
inputs. An attacker could possibly use this issue to cause a denial of
service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10.
(CVE-2023-22484)

It was discovered that cmark-gfm did not correctly handle parsing large
inputs. An attacker could possibly use this issue to cause a denial of
service. (CVE-2023-22486, CVE-2023-26485)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS cmark-gfm 0.29.0.gfm.0-4ubuntu0.1~esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS cmark-gfm 0.29.0.gfm.3-3ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS cmark-gfm 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1

Vulnerabilities 5

  • High 7.5

    Uncontrolled Resource Consumption in cmark-gfm

    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 d…

  • Medium 5.3

    Quadratic complexity may lead to a denial of service in cmark-gfm

    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 …

  • Low 3.5

    cmark-gfm Quadratic complexity bugs may lead to a denial of service

    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 subsequen…

  • Low 3.5

    Inefficient Quadratic complexity bug in handle_pointy_brace may lead to a denial of service

    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 denia…

  • Low 3.5

    cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service

    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 d…

References

  • report
    https://ubuntu.com/security/CVE-2022-39209
  • report
    https://ubuntu.com/security/CVE-2023-22483
  • report
    https://ubuntu.com/security/CVE-2023-22484
  • report
    https://ubuntu.com/security/CVE-2023-22486
  • report
    https://ubuntu.com/security/CVE-2023-26485