CVE-2026-86432

Summary

commonmark versions from 2.0.0 before 2.8.4 contain a denial of service vulnerability in XmlRenderer that emits depth-proportional indentation for every XML tag. Attackers can provide deeply nested Markdown or AST structures to cause quadratic memory consumption and output amplification, exhausting server resources.

Affected Software

VendorProductVersion RangeStatus
thephpleaguecommonmark2.0.0 < 2.8.4affected
thephpleaguecommonmark2.8.4unaffected

Weaknesses

  • CWE-405: Asymmetric Resource Consumption (Amplification)

References