Inefficient Algorithmic Complexity in Comrak - #VU173133

 

Inefficient Algorithmic Complexity in Comrak - #VU173133

Published: December 3, 2026


Vulnerability identifier: #VU173133
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause excessive CPU consumption during Markdown parsing, potentially degrading service availability.

The vulnerability exists due to quadratic brace matching in Comrak's HEEx inline parser when processing Markdown containing unmatched opening braces. A remote attacker can submit untrusted Markdown to an application with the HEEx extension enabled to increase parsing cost.


Affected software

Comrak

Remediation

Install security update from vendor's website.

Comrak - update to 1.3.0

External References

Related Security Bulletins