CVE-2023-22485 MEDIUM

CVE-2023-22485: cmark-gfm out-of-bounds read in validate_protocol

Vendor Github
Product cmark-gfm
Weakness CWE-125
Published January 24, 2023
Last update March 10, 2025

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 24, 2023 CVE published
March 10, 2025 Record updated