# CVE-2024-22051: CommonMarker Integer Overflow Vulnerability

Status: published. Published: 2024-01-04. Updated: 2026-11-08.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: ADP: CVE) — https://github.com/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3
- fix: commonmarker (RubyGems): OSV reports a fixed version 0.23.4. Check the advisory for supported release branches. (source: OSV GHSA-fmx4-26r3-wxpf) — https://github.com/advisories/GHSA-fmx4-26r3-wxpf

## Affected products and versions

-  /  (commonmarker): ≥ 0; < 0.23.4 (affected, semver). Source: CNA: VulnCheck
-  / commonmarker (commonmarker): 0.0.1 (affected, RubyGems); 0.1.0 (affected, RubyGems); 0.1.1 (affected, RubyGems); 0.1.2 (affected, RubyGems); 0.1.3 (affected, RubyGems); 0.10.0 (affected, RubyGems); 0.11.0 (affected, RubyGems); 0.12.0 (affected, RubyGems); 0.13.0 (affected, RubyGems); 0.14.0 (affected, RubyGems); 0.14.1 (affected, RubyGems); 0.14.11 (affected, RubyGems); 0.14.12 (affected, RubyGems); 0.14.13 (affected, RubyGems); 0.14.14 (affected, RubyGems); 0.14.15 (affected, RubyGems); 0.14.2 (affected, RubyGems); 0.14.3 (affected, RubyGems); 0.14.4 (affected, RubyGems); 0.14.5 (affected, RubyGems); 0.14.6 (affected, RubyGems); 0.14.7 (affected, RubyGems); 0.14.8 (affected, RubyGems); 0.14.9 (affected, RubyGems); 0.15.0 (affected, RubyGems); 0.16.0 (affected, RubyGems); 0.16.1 (affected, RubyGems); 0.16.2 (affected, RubyGems); 0.16.3 (affected, RubyGems); 0.16.4 (affected, RubyGems); 0.16.5 (affected, RubyGems); 0.16.6 (affected, RubyGems); 0.16.7 (affected, RubyGems); 0.16.8 (affected, RubyGems); 0.17.0 (affected, RubyGems); 0.17.1 (affected, RubyGems); 0.17.10 (affected, RubyGems); 0.17.11 (affected, RubyGems); 0.17.12 (affected, RubyGems); 0.17.13 (affected, RubyGems); 0.17.2 (affected, RubyGems); 0.17.4 (affected, RubyGems); 0.17.5 (affected, RubyGems); 0.17.6 (affected, RubyGems); 0.17.7 (affected, RubyGems); 0.17.7.1 (affected, RubyGems); 0.17.8 (affected, RubyGems); 0.17.9 (affected, RubyGems); 0.18.0 (affected, RubyGems); 0.18.1 (affected, RubyGems); 0.18.2 (affected, RubyGems); 0.19.0 (affected, RubyGems); 0.2.0 (affected, RubyGems); 0.2.1 (affected, RubyGems); 0.20.0 (affected, RubyGems); 0.20.1 (affected, RubyGems); 0.20.2 (affected, RubyGems); 0.21.0 (affected, RubyGems); 0.21.1 (affected, RubyGems); 0.21.2 (affected, RubyGems); 0.22.0 (affected, RubyGems); 0.23.0 (affected, RubyGems); 0.23.1 (affected, RubyGems); 0.23.2 (affected, RubyGems); 0.3.0 (affected, RubyGems); 0.4.0 (affected, RubyGems); 0.4.1 (affected, RubyGems); 0.5.0 (affected, RubyGems); 0.5.1 (affected, RubyGems); 0.6.0 (affected, RubyGems); 0.7.0 (affected, RubyGems); 0.8.0 (affected, RubyGems); 0.9.0 (affected, RubyGems); 0.9.1 (affected, RubyGems); 0.9.2 (affected, RubyGems); Ecosystem version events: introduced 0; fixed 0.23.4. Source: OSV GHSA-fmx4-26r3-wxpf

## Severity and prioritization

- 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; source: ADP: CISA-ADP

- CISA KEV: No listing in collected sources

- EPSS: 1.45% as of 2026-11-08; percentile 73.54%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-190

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x (CNA: VulnCheck; vendor-advisory)

- https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-fmx4-26r3-wxpf (CNA: VulnCheck; vendor-advisory)

- https://github.com/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3 (CNA: VulnCheck; patch)

- https://github.com/advisories/GHSA-fmx4-26r3-wxpf (CNA: VulnCheck; vendor-advisory)

- https://vulncheck.com/advisories/vc-advisory-GHSA-fmx4-26r3-wxpf (CNA: VulnCheck; third-party-advisory)

- https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x (ADP: CVE; related, x_transferred)

- https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-fmx4-26r3-wxpf (ADP: CVE; vendor-advisory, x_transferred)

- https://github.com/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3 (ADP: CVE; patch, x_transferred)

- https://github.com/advisories/GHSA-fmx4-26r3-wxpf (ADP: CVE; third-party-advisory, x_transferred)

- https://vulncheck.com/advisories/vc-advisory-GHSA-fmx4-26r3-wxpf (ADP: CVE; third-party-advisory, x_transferred)

- https://github.com/advisories/GHSA-fmx4-26r3-wxpf (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-fmx4-26r3-wxpf (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2024-22051; retrieved 2026-11-08; source updated 2026-11-08

- OSV / GitHub Security Advisories (partial: 1/2 referenced advisories verified): https://osv.dev/vulnerability/GHSA-fmx4-26r3-wxpf; retrieved 2026-11-08; source updated 2026-05-14

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-22051; retrieved 2026-11-08; source updated Not reported

Revision: c7beb100d8ea63ba08c8189dc668a868f085d4834d08a86612d27aeba781bb19

Canonical: https://y2.dev/cve/CVE-2024-22051

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.