# CVE-2024-22051: CommonMarker Integer Overflow Vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.61%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-03-03T20:28:47.000Z
- Modified: 2026-11-08T13:59:56.276Z
- Also known as: GHSA-fmx4-26r3-wxpf
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- commonmarker: before 0.23.4
- commonmarker (RubyGems): before 0.23.4
- github cmark-gfm: before 0.28.3.gfm.21; from 0.29.0.gfm.0 before 0.29.0.gfm.3
- gjtorikian commonmarker: before 0.23.4

## Every score

- CISA-ADP: 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`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: 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`

## References

- <https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x> (not-applicable, related, vendor-advisory, web)
- <https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-fmx4-26r3-wxpf> (vendor-advisory, web)
- <https://github.com/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3> (patch, web)
- <https://github.com/advisories/GHSA-fmx4-26r3-wxpf> (third-party-advisory, vendor-advisory)
- <https://vulncheck.com/advisories/vc-advisory-GHSA-fmx4-26r3-wxpf> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22051> (advisory)
- <https://github.com/gjtorikian/commonmarker> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/commonmarker/CVE-2024-22051.yml> (web)

## Sources

- CVE List: [CVE-2024-22051](https://www.cve.org/CVERecord?id=CVE-2024-22051), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-fmx4-26r3-wxpf](https://github.com/advisories/GHSA-fmx4-26r3-wxpf), CC-BY-4.0, modified 2026-05-14
- NVD: [CVE-2024-22051](https://nvd.nist.gov/vuln/detail/CVE-2024-22051), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2024-22051 · Whole record: https://cve.day/CVE-2024-22051.json · Rebuilt by cve.day 2026-11-25T22:58:35.924Z
