Bug 2542707 (CVE-2026-102276)

Summary: CVE-2026-102276 brace-expansion: brace-expansion: Denial of Service via stack exhaustion from crafted brace patterns
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, abarbaro, abrianik, abuckta, akhatavk, akostadi, alizardo, amasferr, amctagga, anjoseph, anpicker, anthomas, anujha, aoconnor, aos-team-art-private, aschwart, asdas, asoldano, aszczucz, ataylor, bbaranow, bbrownin, bmaxwell, bniver, boliveir, bparees, brasmith, bsmejkal, bstansbe, cdrage, cmah, cmyers, cochase, csuconic, dbosanac, dbruscin, dfreiber, dkuc, dlofthou, dmayorov, dnakabaa, doconnor, dpaolell, dranck, drichtar, drow, dschmidt, dymurray, eaguilar, ebaron, ehelms, ehugonne, ewittman, flucifre, fmariani, gbenhaim, ggainey, ggrzybek, gmalinko, gmeno, gotiwari, gparvin, groman, gtanzill, gtully, hasun, ibolton, ikhan, istudens, ivassile, iweiss, jachapma, janstey, jbalunas, jburrell, jbuscemi, jchui, jdelft, jfula, jhe, jhorak, jlanda, jlledo, jmatsuok, jmatthew, jmontleo, jowilson, jpasqual, jprabhak, jraez, jreimann, jsherman, jtolenti, jupierce, juwatts, jwon, kaycoth, kshier, ktsao, kvanderr, lchilton, lcouzens, lgarciaa, lryznaro, mbenjamin, mbiarnes, mcarlett, mdellweg, mdessi, mhackett, mhulan, mosmerov, mposolda, mreynolds, mrizzi, msauton, mstipich, msvehla, mvyas, nboldt, nipatil, niyer, nmoumoul, nwallace, nyancey, oaljalju, ometelka, orabin, osousa, pantinor, parichar, pberan, pcattana, pcreech, pdelbell, pesilva, pgaikwad, pjindal, pmackay, ppalepu, ppostler, prdhamdh, progier, psrna, ptisnovs, rbobbitt, rchan, rexwhite, rgemmell, rgodfrey, rhaigner, rhel-process-autobot, rjohnson, rkubis, rmartinc, rstancel, rstepani, rushinde, sdawley, sfeifer, sghai, sidsharm, simaishi, slucidi, smallamp, snegrini, sostapov, spichugi, sseago, ssilvert, stcannon, sthirugn, sthorger, suppawar, syedriko, tasato, tbish, tbordaz, tcunning, thjenkin, tlavocat, tmalecek, tsedmik, tsze, twaugh, vashirov, vdosoudi, vereddy, vkumar, vlaad, vmuzikar, watson-tool-maintainers, wtam, xdharmai, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in brace-expansion. A remote attacker can provide specially crafted brace patterns with excessive nested groups or large arrays to trigger uncontrolled recursion during parsing. This behavior exhausts the native call stack and crashes the application process, leading to a Denial of Service (DoS).
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:
Bug Depends On: 2550195, 2550196, 2550197, 2550198, 2550199, 2550200, 2550203, 2550204, 2550206, 2550207, 2550208, 2550210, 2550211, 2550212, 2550213, 2550214, 2550215, 2550216, 2550218, 2550220, 2550221, 2550222, 2550223, 2550224, 2550225, 2550226, 2550228, 2550230, 2550231, 2552373, 2550201, 2550205, 2550227, 2550229, 2550232    
Bug Blocks:    

Description OSIDB Bzimport 2026-09-28 21:04:22 UTC
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCommaParts because parseCommaParts recursively processes the remainder once per brace group and uses push.apply to pass every element of a very large comma-part array as a function argument. Patterns containing many comma-separated brace groups trigger the recursive path, while the large array triggers the argument-array path without deep recursion. These paths cause recursive and argument-array native stack exhaustion before max or maxLength can limit output, potentially terminating the Node.js process in a process-terminating denial of service. This issue is fixed in versions 1.1.19, 2.1.5, 3.0.7, and 5.0.10.