CVE-2026-86432 PUBLISHED

commonmark 2.0.0 before 2.8.4 Denial of Service via XML

Assigner: VulnCheck
Reserved: 07.09.2026 Published: 07.09.2026 Updated: 07.09.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.9

Product Status

Vendor thephpleague
Product commonmark
Versions Default: unaffected
  • affected from 2.0.0 to 2.8.4 (excl.)
  • Version 2.8.4 is unaffected

Credits

  • GrahamCampbell finder

References

Problem Types

  • Asymmetric Resource Consumption (Amplification) CWE