CVE-2022-24724: fedoraproject fedora Integer Overflow or Wraparound
Vulnerability summary
CVE-2022-24724 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in fedoraproject fedora. EPSS estimates a 4.51% chance of exploitation in the next 30 days, higher than 91.4% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 03-03-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · Red hatEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.51%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
0.00 pp
From 4.51% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian5 products
- cmark-gfm< 0.29.0.gfm.3-3
- ghostwriter< 2.1.6+ds-1
- python-cmarkgfm< 0.7.0-1
- r-cran-commonmark< 1.8.0-1
- ruby-commonmarker< 0.23.4-1
Redhat2 products
- pandoc< 0:2.0.6-6.el8_6
- pandoc-common< 0:2.0.6-6.el8_6
Fedoraproject1 product
- fedoraEOL34 | 35 | 36
Github1 product
- cmark-gfm≥ 0.29.0.gfm.0, < 0.29.0.gfm.3 | < 0.28.3.gfm.21 | > 0.28.3.gfm.21, < 0.29.0.gfm.3
Ubuntu1 product
- cmark-gfmAll versions (No fix recorded)
5 vendors · 10 products
References
17 links- github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4xX Refsource CONFIRMREPORTThird Party Advisory
- packetstormsecurity.com/files/166599/cmark-gfm-Integer-overflow.htmlX Refsource MISCExploitThird Party Advisory