CVE-2024-22051Github Cmark-gfm
Critical 9.8 No auth needed
Follow: this CVE · Github · Github Cmark-gfm We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Jan 4, 2024
- Updated
- Jul 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Cmark-gfm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | commonmarker |
< 0.23.4 |
0.23.4 |
gem "commonmarker", ">= 0.23.4" |
Per OSV / GitHub Advisories (GHSA-fmx4-26r3-wxpf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| github | cmark-gfm | < 0.28.3.gfm.21 |
| github | cmark-gfm | ≥ 0.29.0.gfm.0 < 0.29.0.gfm.3 |
| gjtorikian | commonmarker | < 0.23.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Not Applicable
- github.com Patch
- github.com Vendor Advisory
- vulncheck.com Third Party Advisory