Description
A flaw was found in dash. When built without libc fnmatch, the internal pmatch() matcher implements * by unbounded recursion over candidate positions. A local user who can plant filenames, or otherwise feed that matcher, can make a short multi-star pattern such as *.*.*.*.*.tar.gz consume excessive CPU.
Published: 2026-09-29
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service (local user)
Action: Apply Workaround
AI Analysis

Impact

A flaw in dash occurs when the executable is built without the libc fnmatch routine; its internal pattern matcher performs unbounded recursion for patterns containing multiple asterisks. The resulting super‑polynomial backtracking can cause the function to consume excessive CPU resources. A local user who can plant filenames or supply patterns such as *.*.*.*.*.tar.gz to the matcher can trigger this behaviour, leading to a denial of service for that user or for the system if many such invocations occur. The weakness is a pattern matching error (CWE‑1333).

Affected Systems

The vulnerability affects systems running Red Hat Enterprise Linux 6 that use the dash shell compiled without libc fnmatch. Specific patch versions are not listed in the advisory; the issue is tied to dash built in the default RHEL 6 environment.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate impact, and the EPSS score of <1% suggests a low likelihood of exploitation at this time. The vulnerability is not recorded in the CISA KEV catalog. The attack vector is local – a user with the ability to create or influence file names processed by dash can trigger the excessive CPU consumption, and no network‑level or privilege‑escalation vectors are described in the advisory.

Generated by OpenCVE AI on September 30, 2026 at 04:03 UTC.

Remediation

Vendor Workaround

Rebuild dash with --enable-fnmatch so pathname matching uses libc fnmatch. Until then, do not run dash globs, case, or ${var#pat} / ${var%pat} against attacker-controlled names with multi-star patterns. There is no upstream backtracking bound in the internal matcher.


OpenCVE Recommended Actions

  • Rebuild dash with the '--enable-fnmatch' flag so pathname matching uses libc fnmatch.
  • Until the rebuild is performed, avoid executing dash globs, the case statement, or ${var#pat} / ${var%pat} expansions against attacker‑controlled names that contain multi‑star patterns.
  • Limit the ability of local users to create or control filenames that will be processed by dash, or monitor for abnormal CPU usage during shell operations.

Generated by OpenCVE AI on September 30, 2026 at 04:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 29 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Dash
Dash dash
Vendors & Products Dash
Dash dash

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in dash. When built without libc fnmatch, the internal pmatch() matcher implements * by unbounded recursion over candidate positions. A local user who can plant filenames, or otherwise feed that matcher, can make a short multi-star pattern such as *.*.*.*.*.tar.gz consume excessive CPU.
Title Dash: dash: super-polynomial backtracking in pmatch when libc fnmatch is disabled
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-1333
CPEs cpe:/o:redhat:enterprise_linux:6
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Subscriptions

Dash Dash
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-30T20:11:10.442Z

Reserved: 2026-09-29T08:38:18.889Z

Link: CVE-2026-102473

cve-icon Vulnrichment

Updated: 2026-09-30T19:42:30.491Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-29T10:17:10.383

Modified: 2026-09-30T21:17:04.273

Link: CVE-2026-102473

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-29T00:00:00Z

Links: CVE-2026-102473 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T04:15:08Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity