BreachSpiderVerified, not vibes

CVE-2022-24724 in Fedoraproject Fedora and 1 more product

Critical 9.8

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Prior to versions 0.29.0.gfm.3 and 0.28.3.gfm.21, an integer overflow in cmark-gfm's table row parsing `table.c:row_from_string` may lead to heap memory corruption when parsing tables who's marker rows contain more than UINT16_MA...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS3.5%
EPSS percentile90th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Fedoraproject Fedora 34 35 36
Github Cmark-Gfm < 0.28.3.gfm.21 > 0.28.3.gfm.21, < 0.29.0.gfm.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Prior to versions 0.29.0.gfm.3 and 0.28.3.gfm.21, an integer overflow in cmark-gfm's table row parsing `table.c:row_from_string` may lead to heap memory corruption when parsing tables who's marker rows contain more than UINT16_MAX columns. The impact of this heap corruption ranges from Information Leak to Arbitrary Code Execution depending on how and where `cmark-gfm` is used. If `cmark-gfm` is used for rendering remote user controlled markdown, this vulnerability may lead to Remote Code Execution (RCE) in applications employing affected versions of the `cmark-gfm` library. This vulnerability has been patched in the following cmark-gfm versions 0.29.0.gfm.3 and 0.28.3.gfm.21. A workaround is available. The vulnerability exists in the table markdown extensions of cmark-gfm. Disabling the table extension will prevent this vulnerability from being triggered.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-24724
BreachSpider IDBS-2022-GLOBAL-314276-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-03-03
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-190: Integer Overflow or Wraparound

Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-190

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

An integer overflow vulnerability in cmark-gfm versions prior to 0.29.0.gfm.3a and 0.28.3.gfm.21 can lead to heap memory corruption, potentially allowing for information leaks or arbitrary code execution.

The vulnerability arises from improper handling of table row parsing in cmark-gfm, specifically in the `table.c:row_from_string` function. When parsing tables with marker rows containing more than UINT16_MAX columns, an integer overflow occurs, leading to heap memory corruption.

Questions

What is CVE-2022-24724?

An integer overflow vulnerability in cmark-gfm versions prior to 0.29.0.gfm.3a and 0.28.3.gfm.21 can lead to heap memory corruption, potentially allowing for information leaks or arbitrary code execution.

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

CVE-2022-24724 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.5%.

Is CVE-2022-24724 actively exploited?

No confirmed active exploitation of CVE-2022-24724 as of 2026-09-25.

How do I remediate CVE-2022-24724?

Priority: IMMEDIATE. Advisory: https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x

What systems are affected by CVE-2022-24724?

CVE-2022-24724 affects Fedoraproject Fedora; Github Cmark-Gfm.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.