CVE-2023-22485
CVE-2023-22485 is a medium-severity vulnerability in Github Cmark-gfm with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-91.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-91
- Affected product: Github Cmark-gfm
- Published:
- Last modified:
Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `validate_protocol` function. We believe this bug is harmless in practice, because the out-of-bounds read accesses `malloc` metadata without causing any visible damage.This vulnerability has been patched in 0.29.0.gfm.7.
Frequently asked questions
- What is CVE-2023-22485?
- cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `validate_protocol` function. We believe this bug is harmless in practice, because the out-of-bounds read accesses `malloc` metadata without causing any visible damage.This vulnerability has been patched in 0.29.0.gfm.7.
- How severe is CVE-2023-22485?
- CVE-2023-22485 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
- Is CVE-2023-22485 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-22485?
- CVE-2023-22485 affects Github Cmark-gfm. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-22485?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-22485 published?
- CVE-2023-22485 was published on 2023-01-24 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*
More vulnerabilities in Github Cmark-gfm
- CVE-2024-22051 — Critical (CVSS 9.8): CommonMarker versions prior to 0.23.4 are at risk of an integer overflow vulnerability. This vulnerability can result…
- CVE-2022-24724 — High (CVSS 8.8): cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Prior to versions 0.29.0.gfm.3…
- CVE-2022-39209 — High (CVSS 7.5): cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to…
- CVE-2023-37463 — Medium (CVSS 6.4): cmark-gfm is an extended version of the C reference implementation of CommonMark, a rationalized version of Markdown…
- CVE-2023-26485 — Medium (CVSS 5.3): cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time…
- CVE-2023-24824 — Medium (CVSS 5.3): cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time…
All CVEs affecting Github Cmark-gfm →
Other CWE-91 (XML Injection) vulnerabilities
- CVE-2021-4140 — Critical (CVSS 10.0): It was possible to construct specific XSLT markup that would be able to bypass an iframe sandbox. This vulnerability…
- CVE-2023-43187 — Critical (CVSS 9.8): A remote code execution (RCE) vulnerability in the xmlrpc.php endpoint of NodeBB Inc NodeBB forum software prior to…
- CVE-2019-19450 — Critical (CVSS 9.8): paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates…
- CVE-2021-37154 — Critical (CVSS 9.8): In ForgeRock Access Management (AM) before 7.0.2, the SAML2 implementation allows XML injection, potentially enabling a…
- CVE-2020-29128 — Critical (CVSS 9.8): petl before 1.68, in some configurations, allows resolution of entities in an XML document.
- CVE-2020-25216 — Critical (CVSS 9.8): yWorks yEd Desktop before 3.20.1 allows code execution via an XSL Transformation when using an XML file in conjunction…