cve.bz

CVE-2022-24724 Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalExploit referenceEPSS 4.5%

Critical (9.8). EPSS 4.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24724 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24724?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24724?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24724 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
github:cmark-gfmbefore 0.28.3.gfm.21
github:cmark-gfmafter 0.28.3.gfm.21 before 0.29.0.gfm.3
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14cmark-gfm0.29.0.gfm.3-3DEBIAN-CVE-2022-24724
Debian12, 13, 14ghostwriter2.1.6+ds-1DEBIAN-CVE-2022-24724
Debian12, 13, 14python-cmarkgfm0.7.0-1DEBIAN-CVE-2022-24724
Debian12, 13, 14r-cran-commonmark1.8.0-1DEBIAN-CVE-2022-24724
Debian12, 13, 14ruby-commonmarker0.23.4-1DEBIAN-CVE-2022-24724
UbuntuPro:20.04:LTScmark-gfmno fix listedUBUNTU-CVE-2022-24724
Red Hatenterprise_linux:8::crbpandoc, pandoc-common0:2.0.6-6.el8_6RHSA-2022:5597
AlmaLinux8pandoc, pandoc-common2.0.6-6.el8_6ALSA-2022:5597
Rocky Linux8pandoc0:2.0.6-6.el8_6RLSA-2022:5597

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pandoc-0:2.0.6-6.el8_6Fixed 2022-07-18RHSA-2022:5597

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24724.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON