CVE-2023-22485
MEDIUM5.3EPSS 0.07%Published: 1/24/2023Modified: 4/28/2026
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.
Affected packages (4)
- Debian/cmark-gfmfrom 0
- Debian/python-cmarkgfmfrom 0
- Debian/r-cran-commonmarkfrom 0
- Debian/ruby-commonmarkerfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |