CVE-2026-86433

commonmark 1.5.0 before 2.8.4 Denial of Service via Attributes

Published Sep 7, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
commonmark versions from 1.5.0 before 2.8.4 contain a denial of service vulnerability in the Attributes extension where AttributesListener::findTargetAndDirection() performs quadratic-time sibling list scanning. Unauthenticated attackers can submit approximately 32 KB of repeated attribute blocks to cause parsing to take over 5 seconds, exhausting server resources.

Analysis

AI-generated

Technical impact

A quadratic‑time algorithm within the Attributes extension of commonmark causes extreme CPU pressure during parsing of repeated attribute blocks. When an unauthenticated attacker submits about 32 KB of such data, parsing can exceed five seconds, draining server resources and potentially halting the application. The vulnerability allows an attacker to exhaust processing limits without any authentication or elevated privileges.

Affected Systems

PHP applications using thephpleague/commonmark 1.5.0 through 2.8.3 are affected. Any version prior to 2.8.4 that includes the AttributesListener::findTargetAndDirection() implementation is susceptible. The issue impacts projects that parse user‑supplied markdown without restricting input size or disabling the Attributes extension.

Risk and Exploitability

With a CVSS score of 8.7, the vulnerability is rated high severity. No EPSS score is available, and it is not listed in CISA’s KEV catalog, suggesting no confirmed large‑scale exploitation yet. The likely attack vector is any public or internal interface that forwards markdown content to the CommonMark parser. Because the flaw is purely computational, successful exploitation merely requires supplying the crafted input; no additional prerequisites are needed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update commonmark to version 2.8.4 or later to apply the vendor‑issued fix.
  • Disable the Attributes extension when parsing markdown from untrusted sources.
  • Limit the size of input passed to the parser or enforce a maximum parsing time.

Generated by OpenCVE AI on September 7, 2026 at 15:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description commonmark versions from 1.5.0 before 2.8.4 contain a denial of service vulnerability in the Attributes extension where AttributesListener::findTargetAndDirection() performs quadratic-time sibling list scanning. Unauthenticated attackers can submit approximately 32 KB of repeated attribute blocks to cause parsing to take over 5 seconds, exhausting server resources.
Title commonmark 1.5.0 before 2.8.4 Denial of Service via Attributes
First Time appeared Thephpleague
Thephpleague commonmark
Weaknesses CWE-407
CPEs cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:*
Vendors & Products Thephpleague
Thephpleague commonmark
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:25 PM
Reserved
Sep 7, 2026, 12:34 PM
Status
Awaiting Analysis
Published
Sep 7, 2026, 1:20 PM
Modified
Oct 8, 2026, 4:17 PM