PT-2026-86795

CVE-2026-86429

·

تاريخ النشر

2026-09-01

·

تاريخ التحديث

2026-09-19

الوصف من

CVSS 4.0
8.7
عالية
المقاييسAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions league/commonmark versions 1.5.0 through 2.9.0
Description The SmartPunctExtension and AttributesExtension contain quadratic parsing complexity. An unauthenticated attacker can submit specially crafted Markdown documents to trigger disproportionate CPU consumption, leading to a denial of service by occupying PHP workers. This occurs when these extensions are explicitly registered on the Environment.
Technical details include:
  • In SmartPunctExtension, the ReplaceUnpairedQuotesListener recopies the entire text node during the merge of unpaired quotes via AdjacentTextMerger.
  • In AttributesExtension, the AttributesListener::findTargetAndDirection() function re-scans sibling chains for contiguous runs of block-level Attributes nodes.
  • In AttributesExtension, the AttributesHelper::mergeAttributes() function repeatedly rebuilds class lists using explode and implode during each merge.
Recommendations Update league/commonmark to version 2.9.1 or later. As a temporary workaround, do not register SmartPunctExtension or AttributesExtension when converting untrusted Markdown. As a temporary workaround, impose a strict maximum input length before conversion to bound worst-case CPU time.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-JJV6-8J6V-6J52
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾