Vulnerabilities · 2023 · Github
CVE-2023-22485
Github Cmark-gfm vulnerability
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.
Affected products
Cmark-gfm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Github Cmark-gfm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Github products
CVE-2025-23369CVE-2025-14046CVE-2025-13744CVE-2025-11892CVE-2025-11578CVE-2025-8447CVE-2025-6981CVE-2025-6600All 125
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.