CVE-2026-86432: commonmark 2.0.0 before 2.8.4 Denial of Service via XML

Published Sep 7, 2026
·
Updated

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

1 affected component
commonmark>=2.0.0<2.8.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade commonmark to a version that resolves this vulnerability.

    Fixed in 2.8.4

Event History

Sep 7, 2026
CVE Published
via MITRE·12:53 PM
Data Sourced
via MITRE·12:53 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to resource exhaustion?

Deployments using commonmark versions from 2.0.0 before 2.8.4 are affected when XmlRenderer processes attacker-provided deeply nested Markdown or AST structures. The resulting XML output can consume memory quadratically and amplify output until server resources are exhausted.

2

Does exploitation require authentication or user interaction?

No. The provided severity vector indicates network reachability, low attack complexity, no privileges required, and no user interaction.

3

What input would an attacker need to provide?

An attacker needs to supply deeply nested Markdown or AST structures that are rendered through XmlRenderer. Each XML tag receives indentation proportional to its depth, producing excessive output and memory use.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203