Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-24724

published high CVSS 3.1 · 8.8

Integer overflow in table parsing extension leads to heap memory corruption

Published
03 Mar 2022, 19:35:09 UTC
Updated
22 Apr 2025, 18:20:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
github — cmark-gfm< 0.28.3.gfm.21 · >= 0.29.0.gfm.0, < 0.29.0.gfm.3 Affected Not stated GitHub_M
AlmaLinux 8 pandoc Advisory build 2.0.6-6.el8_6 ALSA-2022:5597
Red Hat Enterprise Linux RHEL-8 pandocaarch64 Advisory build 2.0.6-6.el8_6 RHSA-2022:5597
Rocky Linux 8 pandocaarch64 Listed in advisory Not stated RLSA-2022:5597
AlmaLinux 8 pandoc-common Advisory build 2.0.6-6.el8_6 ALSA-2022:5597
Red Hat Enterprise Linux RHEL-8 pandocppc64le Advisory build 2.0.6-6.el8_6 RHSA-2022:5597
Red Hat Enterprise Linux RHEL-8 pandocs390x Advisory build 2.0.6-6.el8_6 RHSA-2022:5597
Red Hat Enterprise Linux RHEL-8 pandocsrc Advisory build 2.0.6-6.el8_6 RHSA-2022:5597
Show 5 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 pandocx86_64 Advisory build 2.0.6-6.el8_6 RHSA-2022:5597
Red Hat Enterprise Linux RHEL-8 pandoc-commonnoarch Advisory build 2.0.6-6.el8_6 RHSA-2022:5597
Rocky Linux 8 pandocsrc Listed in advisory Not stated RLSA-2022:5597
Rocky Linux 8 pandocx86_64 Listed in advisory Not stated RLSA-2022:5597
Rocky Linux 8 pandoc-commonnoarch Listed in advisory Not stated RLSA-2022:5597

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
github cmark-gfm < 0.28.3.gfm.21 (affected)>= 0.29.0.gfm.0, < 0.29.0.gfm.3 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-190 CWE-190: Integer Overflow or Wraparound (GitHub_M · cna)

References

8
  • http://packetstormsecurity.com/files/166599/cmark-gfm-Integer-overflow.html x_refsource_MISC, x_transferred Contributors: GitHub_M (cna), CVE (adp)
  • https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x x_refsource_CONFIRM, x_transferred Contributors: GitHub_M (cna), CVE (adp)
  • FEDORA-2022-c42d02e5e5 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5CYUU662VO6CCXQKVZVOHXX3RGIF2DLQ/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: GitHub_M (cna), CVE (adp)
  • FEDORA-2022-bc43bafcfd https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F7V3HAM5H6YFJG2QFEXACZR3XVWFTXTC/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: GitHub_M (cna), CVE (adp)
  • FEDORA-2022-1f981071eb https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KH4UQA6VWVZU5EW3HNEAB7D7BTCNJSJ2/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: GitHub_M (cna), CVE (adp)
  • FEDORA-2022-79b9a59e3b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RSKUOJ2VAYGTJXPDE2RRPMNLVVMKCI77/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: GitHub_M (cna), CVE (adp)
  • FEDORA-2022-725edc74c0 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TJBFIJEHJZEEDG6MO4MQHZYKUXELH77O/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: GitHub_M (cna), CVE (adp)
  • FEDORA-2022-557ad15f2e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z55K6VNVKO2G5SNKRCQ2KDG5SKTX5PVV/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: GitHub_M (cna), CVE (adp)

Provider assertions

3

GitHub_M · cna

Integer overflow in table parsing extension leads to heap memory corruption

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
7af2c14a3900b352839b8aadbdac35c13970fb10b5e25421f363facdf27c6296
Ingested
23 Sep 2026, 07:58:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected