Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0051
Published:August 09, 2026
Updated:September 02, 2026
league/commonmark parsed several constructs in quadratic time, any of which can be abused for denial of service: catastrophic backtracking in the fenced code block start pattern made a single line of backticks quadratic; shortcut reference link lookups normalized arbitrarily long labels once one reference definition was present, resolving nested brackets quadratically; and delimiter processors keyed an unbounded openersBottom cache. Fixed in 2.9.1 by anchoring the fenced code pattern, applying the spec's 999-character link label limit when resolving references, and bounding the delimiter cache key space.
Affected Packages
https://github.com/thephpleague/commonmark.git (GITHUB):
Affected version(s) >=0.6.0 <2.9.1
Fix Suggestion:
Update to version 2.9.1
league/commonmark (PHP):
Affected version(s) >=0.6.0 <2.9.1
Fix Suggestion:
Update to version 2.9.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Algorithmic Complexity
Excessive Platform Resource Consumption within a Loop
Inefficient Regular Expression Complexity