CVE-2026-86432

commonmark 2.0.0 before 2.8.4 Denial of Service via XML

State
Published
Severity
6.9 Medium
Published
Sep 7, 2026
Updated
Oct 8, 2026
Reserved
Sep 7, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LVulnCheck

Weaknesses

  • CWE-405 Asymmetric Resource Consumption (Amplification)

Affected Products

ProductVersions
commonmarkthephpleague
  • 2.0.0 to before 2.8.4Affected
  • 2.8.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.