SB20261119132 - Use-after-free in cmark-gfm



SB20261119132 - Use-after-free in cmark-gfm

Published: November 19, 2026

Security Bulletin ID SB20261119132
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Use-after-free (CVE-ID: N/A)

CWE-ID: CWE-416 - Use After Free

CVSSv4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to disclose uninitialized memory and alter the generated HTML output.

The vulnerability exists due to a read-only use-after-free in the inline footnote parser when it frees a memory chunk that other nodes still reference. A remote attacker can supply crafted Markdown to a local cmark-gfm process with footnote parsing enabled to expose memory contents in the generated HTML.


Remediation

Install update from vendor's website.