CVE-2023-22485CWE-125

cmark-gfm out-of-bounds read in validate_protocol

Medium · published January 24, 2023

CVSS v3.1
5.3
EPSS
1%
Percentile
53.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00723 · 53.5th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2023-01-24T00:26Z
EPSS history
Timeline
  • 24 JAN 00:26Z
    cmark-gfm out-of-bounds read in validate_protocol
    cvelistv5