{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-39209","published":"2022-09-15T18:15:12.260000Z","last_modified":"2026-06-17T04:57:55.187000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-400","CWE-407"],"cpes":[{"criteria":"cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*","part":"a","vendor":"github","product":"cmark-gfm","version_end_excluding":"0.29.0.gfm.6"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"35"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"36"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"37"}],"cpes_truncated":false,"vendors":["github","fedoraproject"],"products":["github/cmark-gfm","fedoraproject/fedora"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.02359,"percentile":0.84501,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2022-39209/","html_en":"/en/cve/CVE-2022-39209/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39209","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39209"},"untrusted":{"vendor_name":"Github","product_name":"Cmark-gfm","desc_en":"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.","affected":[{"untrusted_vendor":"github","untrusted_product":"cmark-gfm","versions":[]}],"references":[{"url":"https://en.wikipedia.org/wiki/Time_complexity","tags":["Third Party Advisory"]},{"url":"https://github.com/github/cmark-gfm/commit/9d57d8a23142b316282bdfc954cb0ecda40a8655","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/","tags":[]}]}}