CVE-2026-102473
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|
Weaknesses
- CWE-1333: Inefficient Regular Expression Complexity
Workarounds
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.
References
- https://access.redhat.com/security/cve/CVE-2026-102473
- https://bugzilla.redhat.com/show_bug.cgi?id=2543005
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.