kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-132276 wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)

설명

wcmatch is a Python library for wildcard file-name matching. Prior to 11.2, under the default flags, matching a non-matching attacker-controlled name against an application-supplied pattern containing several star wildcards separated by literals makes the lazy .? and [^/]? segments, including _STAR and _PATH_STAR emitted by _handle_star() in wcmatch/_wcparse.py, backtrack across possible splits, so a single comparison can consume prolonged CPU time. The pattern remains a developer-controlled constant and only the name is attacker-controlled; affected paths include fnmatch.fnmatch(), glob.globmatch(), and filesystem glob scans where another user can create names, without enabling extglob or any non-default flag. This issue is fixed in 11.2.

영향 받는 제품 제품 1개

  • facelessuser

    wcmatch

    해결 버전 있음

    영향 받는 버전

    • 11.2 미만

    해결 버전

    • 11.2 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의