CVE-2026-141598

Source
https://cve.org/CVERecord?id=CVE-2026-141598
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141598.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-141598
Aliases
  • GHSA-5fhc-4v76-7q52
Published
2026-12-02T01:08:15Z
Modified
2026-12-02T03:00:10Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
wcmatch before 13.0 ReDoS via multiple globstar segments in _handle_star()
Details

wcmatch before 13.0 contains a regular expression denial of service vulnerability that allows attackers to exhaust CPU by matching paths against patterns with three or more globstar segments. Attackers can supply a few KB of non-matching path to glob.globmatch, glob.globfilter, glob.compile matchers or pathlib.PurePath.globmatch, triggering roughly O(n^k) backtracking that consumes a CPU core for minutes.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-1333"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141598.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "13.0"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "13.0"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/facelessuser/wcmatch

Affected ranges

Type
GIT
Repo
https://github.com/facelessuser/wcmatch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "fffd25336b52b19fa75dcea21f4b8c179c735e0e"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "13.0",
            "range":  [
                {
                    "fixed":  "c9ef7e740346cae30168bcbb6adf5718562d506c"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.0.2
10.*
10.0
10.1
10.2
10.2.1
11.*
11.0
11.0.1
11.1
11.2
12.*
12.0
12.0.1
12.0.2
12.0.3
12.0.4
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.1.0
2.2.0
2.2.1
3.*
3.0.0
3.0.1
3.0.2
4.*
4.0.0
4.0.1
4.1.0
4.2.0
4.3.0
4.3.1
5.*
5.0.0
5.0.1
5.0.2
5.0.3
5.1.0
6.*
6.0.0
6.0.1
6.0.2
6.0.3
6.1
7.*
7.0
7.0.1
7.1
7.2
8.*
8.0
8.0.1
8.1
8.1.1
8.1.2
8.2
8.3
8.4
8.4.1
8.5
8.5.1
8.5.2
9.*
9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141598.json"