All reports
Medium

dash: dash: Super-polynomial backtracking in pmatch when libc fnmatch is disabled

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-102473

Probability of exploitation in the next 30 days: 0.10%

FIRST EPSS · 2026-11-19

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.

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.