PT-2022-7229 · Unknown+2 · Commonmarker+2

Felix Wilhelm

·

Published

2022-03-03

·

Updated

2025-11-29

·

CVE-2024-22051

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions CommonMarker versions prior to 0.23.4
Description The issue is related to an integer overflow vulnerability in the CommonMarker library. This vulnerability can be exploited by remote attackers to cause heap memory corruption, potentially leading to an information leak or remote code execution. The vulnerability occurs when parsing tables with marker rows that contain more than UINT16 MAX columns.
Recommendations For CommonMarker versions prior to 0.23.4, update to version 0.23.4 to resolve the issue. As a temporary workaround, consider disabling the use of the table extension in cmark-gfm to prevent the vulnerability from being triggered.

Exploit

Fix

RCE

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-00321
CESA-2022_5597
CVE-2024-22051
GHSA-C2V4-CHX5-VFF6
GHSA-FMX4-26R3-WXPF
GHSA-MC3G-88WQ-6F4X
RHSA-2022_5597

Affected Products

Commonmarker
Debian
Cmark-Gfm