league/commonmark 2.6.0 before 2.10.8 Denial of Service via max_delimiters_per_line Bypass

State
Published
Severity
6.3 Medium
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

Description

league/commonmark 2.6.0 before 2.10.8 contains a denial of service vulnerability in DelimiterStack::push() that miscounts delimiter runs against the max_delimiters_per_line budget. Attackers submitting Markdown with two long emphasis character runs can produce deeply nested strong elements, causing quadratic rendering time and CPU exhaustion.

ProductVersions
commonmark thephpleague2.6.0 to before 2.10.8 Affected

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.