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.
Published: 2026-09-07
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 08 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 07 Sep 2026 13:00:00 +0000

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'}


Subscriptions

Thephpleague Commonmark
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-08T12:50:22.618Z

Reserved: 2026-09-07T12:34:31.457Z

Link: CVE-2026-86433

cve-icon Vulnrichment

Updated: 2026-09-08T12:50:19.409Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-09-07T13:20:42.733

Modified: 2026-09-08T19:57:49.663

Link: CVE-2026-86433

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-07T15:45:17Z

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity