Read the docs
TI-2023-13145 Aliases CVE-2023-28626GHSA-8hqf-xjwp-p67v

Quadratic runtime when parsing Markdown in comrak

Priority MEDIUM 41CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A range of quadratic parsing issues are present in Comrak. These can be used to craft denial-of-service attacks on services that use Comrak to parse Markdown. This issue has been addressed in version 0.17.0. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as `GHSL-2023-047`

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0112 66th percentileScored 2026-11-07
Fix Fixed comrak (kivikakk): 0.17.0comrak (crates.io): 0.17.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
kivikakkcomrakbefore 0.17.00.17.0Patch availableCNA
—comrak (crates.io)before 0.17.00.17.0Patch availableGHSA-8hqf-xjwp-p67v
  • comrak Vendorkivikakk Affected before 0.17.0 Fixed in 0.17.0 Patch available CNA
  • comrak (crates.io) Vendor— Affected before 0.17.0 Fixed in 0.17.0 Patch available GHSA-8hqf-xjwp-p67v

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:*before 0.17.0VulnerableComrak Project
  • cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:* Versions before 0.17.0 Vulnerable ·Comrak Project

Remediation

  • Fix · CNA comrak (kivikakk) Fixed in 0.17.0
  • Fix · GHSA-8hqf-xjwp-p67v comrak (crates.io) Fixed in 0.17.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-28626
  2. 2026-10-03 Alias added: GHSA-8hqf-xjwp-p67v

References

  • TI-2023-13150 Attacker controlled data in AST nodes is not validated in comrak CVSS 3.1CRITICAL 9.8
  • TI-2021-15863 An issue was discovered in the comrak crate before 0.10.1 for Rust. CVSS 3.1MEDIUM 6.1
  • TI-2021-09116 An issue was discovered in the comrak crate before 0.9.1 for Rust. CVSS 3.1MEDIUM 6.1

Sources