Uncontrolled Resource Consumption in cmark-gfm

Check todayDenial of service over the network, no login needed.
7.5HIGH

CVE-2022-39209

Key Information:

Vendor

Github

Status
CVE ID
CVE ID:
CVE-2022-39209
Vendor
CVE Published:
15 September 2022

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Cmark-gfm. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is high (7.5).

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.

Affected Version(s)

cmark-gfm < 0.29.0.gfm.6

References

Improper Neutralization Vulnerability in GitHub Enterprise Server

CVE-2026-4821
GithubEnterprise Server8.1HIGH

Remote Code Execution Vulnerability in GitHub Enterprise Server

CVE-2026-3854
GithubEnterprise ServerπŸ”₯πŸ˜„πŸ‘Ύ8.7HIGH

Cryptographic Signature Spoofing Vulnerability in GitHub Enterprise Server

CVE-2025-23369
GithubEnterprise ServerπŸ˜„πŸ‘Ύ7.6HIGH
View more Github vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.