CVE-2026-86428

commonmark 1.5.0 before 2.10.0 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.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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity

Sources

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