5.3

CVE-2023-22485: github cmark-gfm Out-of-bounds Read

CVSS: 5.3v3.1MediumModified
AliasesUBUNTU-CVE-2023-22485DEBIAN-CVE-2023-22485
Published 24-01-2023Last modified 10-03-2025

Vulnerability summary

CVE-2023-22485 is a medium (CVSS 5.3) Out-of-bounds Read vulnerability in github cmark-gfm. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 53.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.72%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 24-01-2023
    PublishedVulnerability first disclosed.
  2. 10-03-2025
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.72%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

0.00 pp

From 0.72% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.72%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Cmark Gfm

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian4 products
  • cmark-gfmAll versions (No fix recorded) | < 0.29.0.gfm.13-1
  • python-cmarkgfmAll versions (No fix recorded) | < 2024.11.20-1
  • r-cran-commonmarkAll versions (No fix recorded) | < 1.9.0-1
  • ruby-commonmarkerAll versions (No fix recorded) | < 0.23.10-1
Github1 product
Ubuntu1 product
  • cmark-gfmAll versions (No fix recorded)

3 vendors · 6 products

References

4 links