Skip to main content
No exploitation reportedFix available

CVE-2022-39209

No exploitation reported by the sources we read.

  • Published2022-09-15
  • WeaknessCWE-400 · CWE-407

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2022-09-1518:15CVE publishedNVD

Versions per branch

NVD
Fedoraproject fedora
BranchAffectedFixed in
35.x= 35no fix published
36.x= 36no fix published
37.x= 37no fix published
Github cmark-gfm
BranchAffectedFixed in
0.29< 0.29.0.gfm.60.29.0.gfm.6

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • github cmark-gfm
    Affected
    • = < 0.29.0.gfm.6no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-11-14

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cmark-gfmUbuntu:Pro:24.04:LTSall versions · fixed in 0.29.0.gfm.6-6ubuntu0.24.04.1~esm1
  • cmark-gfmUbuntu:Pro:22.04:LTSall versions · fixed in 0.29.0.gfm.3-3ubuntu0.1~esm1
  • cmark-gfmUbuntu:Pro:20.04:LTSall versions · fixed in 0.29.0.gfm.0-4ubuntu0.1~esm1
  • cmark-gfmDebian:14all versions · fixed in 0.29.0.gfm.6-2
  • cmark-gfmDebian:13all versions · fixed in 0.29.0.gfm.6-2
  • cmark-gfmDebian:12all versions · fixed in 0.29.0.gfm.6-2
  • ghostwriterDebian:14all versions · fixed in 2.1.6+ds-1
  • ghostwriterDebian:13all versions · fixed in 2.1.6+ds-1

9 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-39209 Red Hat Product Security

    cmark-gfm: Unbounded resource exhaustion may lead to denial of service

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2025-04-23
  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.16.5read 2026-10-23
  • CNAweakness (CWE)CWE-400known since 2026-10-23
  • NVDweakness (CWE)CWE-407read 2026-10-23
  • FIRST EPSSEPSS score2.3 %2026-11-18
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
2022-09-15
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2022-39209?

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.

Is CVE-2022-39209 actively exploited?

Active exploitation of CVE-2022-39209 has not been confirmed. Its EPSS score was 2.3% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-39209?

CVE-2022-39209 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Running commonmark? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record