Description
commonmark versions from 1.5.0 before 2.10.0 contain a denial of service vulnerability in the AttributesExtension when processing distinctly-named attributes. Attackers can submit Markdown with numerous distinct attribute names to cause quadratic-time attribute merging and filtering, consuming disproportionate CPU resources and preventing legitimate requests from completing.
Published: 2026-09-07
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via quadratic attribute merging
Action: Apply Patch
AI Analysis

Impact

This vulnerability permits an attacker to supply Markdown content containing a large number of uniquely named attributes. The AttributesExtension processes these attributes in a quadratic time fashion, causing significant CPU consumption and preventing normal requests from completing. The identified weakness (CWE‑407) reflects the failure to limit processing time, and the resulting denial of service can affect application availability for legitimate users.

Affected Systems

Thephpleague commonmark releases from version 1.5.0 up to, but not including, 2.10.0 are impacted. Any installation of the library within this range, regardless of environment, may be exploited if the AttributesExtension is enabled.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity impact with potential for complete disruption of services. The EPSS score is currently unavailable, but the lack of an immediate fix condition means an attacker could craft payloads that trigger the quadratic merge logic. Because the vulnerability is tied directly to user-supplied Markdown, the attack vector is inferred to be through HTTP requests or other interfaces that accept Markdown. No known publicly disclosed exploits exist yet; however, the high severity combined with the ability to cause resource exhaustion warrants prompt remediation. The vulnerability is not listed in CISA KEV, but its potential to degrade service quality remains significant.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to commonmark version 2.10.0 or later
  • If an upgrade cannot be performed immediately, disable or remove the AttributesExtension so that attribute processing is not performed
  • Implement rate limiting or resource caps on Markdown processing to mitigate potential CPU spikes

Generated by OpenCVE AI on September 7, 2026 at 15:07 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.10.0 contain a denial of service vulnerability in the AttributesExtension when processing distinctly-named attributes. Attackers can submit Markdown with numerous distinct attribute names to cause quadratic-time attribute merging and filtering, consuming disproportionate CPU resources and preventing legitimate requests from completing.
Title commonmark 1.5.0 before 2.10.0 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:51.319Z

Reserved: 2026-09-07T12:33:13.368Z

Link: CVE-2026-86428

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

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

Modified: 2026-09-09T16:31:45.987

Link: CVE-2026-86428

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity