9.8

CVE-2022-24724: fedoraproject fedora Integer Overflow or Wraparound

CVSS: 9.8v3.1CriticalModified
AliasesRHSA-2022:5597UBUNTU-CVE-2022-24724DEBIAN-CVE-2022-24724
Published 03-03-2022Last modified 22-04-2025

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.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
4.51%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 03-03-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last 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

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

20-09-202620-10-2026
EPSS score
4.51%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected 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
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
Show all 17 references