PT-2026-86796

CVE-2026-86430

·

تاريخ النشر

2026-09-01

·

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

2026-09-07

الوصف من

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 prior to 2.9.1
Description Multiple issues in the parsing process can lead to a denial of service. An unauthenticated attacker can submit specially crafted Markdown to consume disproportionate CPU time, potentially occupying all available PHP workers and preventing legitimate requests from completing. The issues occur across three independent parsing paths:
  1. Fenced code block detection: The FencedCodeStartParser uses a non-atomic lookahead that performs quadratic work when processing long backtick runs.
  2. Reference link label lookup: The CloseBracketParser::tryParseReference() function and ReferenceMap::get() method perform excessive normalization (including trim, preg replace, mb check encoding, and strtolower) on labels. Nested brackets can trigger multiple lookups, resulting in effectively quadratic work.
  3. Delimiter processing: The DelimiterStack::processDelimiters() function, along with EmphasisDelimiterProcessor::getCacheKey(), StrikethroughDelimiterProcessor, and MarkDelimiterProcessor, uses unbounded cache keys based on delimiter run lengths. This forces full backward re-scans of openers, resulting in super-linear work (approximately n^1.5).
Recommendations Update league/commonmark to version 2.9.1 or later. As a temporary workaround, enforce a maximum length for individual lines of input before passing them to the converter. Restrict Markdown conversion to trusted users, apply strict execution-time limits, and implement rate-limiting for requests.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-J8PM-GJ4C-RQ4X
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾