Bug 2451986 (CVE-2026-33671)

Summary: CVE-2026-33671 picomatch: Picomatch: Regular Expression Denial of Service via crafted extglob patterns
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, abrianik, abuckta, akostadi, amasferr, anjoseph, anthomas, anujha, aschwart, asoldano, aszczucz, ataylor, bbaranow, bdettelb, bmaxwell, boliveir, bstansbe, caswilli, cdrage, chfoley, cmah, dbruscin, dhanak, dkuc, dlofthou, dmayorov, doconnor, drichtar, drosa, dschmidt, eaguilar, ebaron, eborisov, ehelms, ehugonne, erezende, ewittman, ggainey, ggrzybek, gmalinko, ibek, istudens, ivassile, iweiss, janstey, jkoehler, jlanda, jlledo, jolong, jpasqual, jprabhak, jraez, jrokos, juwatts, jwong, kaycoth, kshier, kvanderr, lball, lchilton, lphiri, manissin, mhulan, mnovotny, mosmerov, mposolda, mstipich, msvehla, ngough, nipatil, nmoumoul, nwallace, omaciel, orabin, osousa, pantinor, parichar, pberan, pbizzarr, pcreech, pdelbell, pesilva, pjindal, pmackay, rchan, rexwhite, rgodfrey, rhel-process-autobot, rjohnson, rkubis, rmartinc, rstancel, rstepani, rushinde, sausingh, sdawley, sfeifer, simaishi, smaestri, smallamp, smcdonal, ssilvert, stcannon, sthirugn, sthorger, swoodman, tasato, teagle, thjenkin, tmalecek, tsedmik, ttakamiy, vdosoudi, veshanka, vmuzikar, watson-tool-maintainers, wtam, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Picomatch, a JavaScript glob matcher. This Regular Expression Denial of Service (ReDoS) vulnerability allows a remote attacker to cause excessive CPU consumption and block the Node.js event loop, leading to a denial of service. This occurs when untrusted users supply crafted extglob patterns, specifically those using quantifiers like `+()` and `*()` combined with overlapping alternatives or nested extglobs, which can trigger catastrophic backtracking in the compiled regular expressions.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-03-26 22:02:16 UTC
Picomatch is a glob matcher written JavaScript. Versions prior to 4.0.4, 3.0.2, and 2.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) when processing crafted extglob patterns. Certain patterns using extglob quantifiers such as `+()` and `*()`, especially when combined with overlapping alternatives or nested extglobs, are compiled into regular expressions that can exhibit catastrophic backtracking on non-matching input. Applications are impacted when they allow untrusted users to supply glob patterns that are passed to `picomatch` for compilation or matching. In those cases, an attacker can cause excessive CPU consumption and block the Node.js event loop, resulting in a denial of service. Applications that only use trusted, developer-controlled glob patterns are much less likely to be exposed in a security-relevant way. This issue is fixed in picomatch 4.0.4, 3.0.2 and 2.3.2. Users should upgrade to one of these versions or later, depending on their supported release line. If upgrading is not immediately possible, avoid passing untrusted glob patterns to `picomatch`. Possible mitigations include disabling extglob support for untrusted patterns by using `noextglob: true`, rejecting or sanitizing patterns containing nested extglobs or extglob quantifiers such as `+()` and `*()`, enforcing strict allowlists for accepted pattern syntax, running matching in an isolated worker or separate process with time and resource limits, and applying application-level request throttling and input validation for any endpoint that accepts glob patterns.