Medium severity · published Jan 24, 2023
CVE-2023-22485
cmark-gfm out-of-bounds read in validate_protocol
5.3
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
cmark-gfm · github
< 0.29.0.gfm.7 · source: vendor, NVD
Affected product
CM
cmark-gfm
github
More from cmark-gfm
9.8
CVE-2024-22051
CommonMarker Integer Overflow Vulnerability
9.8
CVE-2022-24724
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark
7.5
CVE-2023-37463
Quadratic complexity bugs may lead to a denial of service
7.5
CVE-2023-24824
Quadratic complexity may lead to a denial of service in cmark-gfm
7.5
CVE-2023-26485
Quadratic complexity may lead to a denial of service in cmark-gfm