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: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-29T09:22:54.336Z

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

Link: CVE-2026-102473

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

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-29T16:00:15Z

Weaknesses