CVE-2024-22051: GitHub Cmark-Gfm

Critical severity, CVSS 9.8. EPSS: 1.5% chance of exploitation in the next 30 days.

CommonMarker versions prior to 0.23.4 are at risk of an integer overflow vulnerability. This vulnerability can result in possibly unauthenticated remote attackers to cause heap memory corruption, potentially leading to an information leak or remote code execution, via parsing tables with marker rows that contain more than UINT16_MAX columns.

Affected products

  • GitHub Cmark-Gfm: before 0.28.3.gfm.21 (fixed in 0.28.3.gfm.21); from 0.29.0.gfm.0, before 0.29.0.gfm.3 (fixed in 0.29.0.gfm.3)
  • Gjtorikian Commonmarker: before 0.23.4 (fixed in 0.23.4)

Published 2024-01-04. Last modified 2026-07-14.