Vulnerability
CVE-2026-45149
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~800ms building the full intermediate array. This vulnerability is fixed in 5.0.6.
114 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-236c-cvj4-hcvm
- CGA-26h5-v96x-5v92
- CGA-33p8-992r-wggh
- CGA-38m5-39jp-mvwc
- CGA-3j98-mpq5-2335
- CGA-3qc6-7j92-mrp7
- CGA-3xfx-27j2-q3fv
- CGA-4448-fh63-wwwg
- CGA-47jf-rgf5-c5mj
- CGA-4g85-g445-fvvr
- CGA-4gvp-8326-qvh4
- CGA-4rgc-9j77-5892
- CGA-573f-4pcg-7j9r
- CGA-5786-cqjc-8hg3
- CGA-5r5f-gcjc-hqwm
- CGA-5v66-mvxg-3pcf
- CGA-635m-g3mp-7v2c
- CGA-6524-pw73-4f3c
- CGA-65g8-gxgf-xq6w
- CGA-69q8-p8m9-wwr6
- CGA-6h88-hg2w-c9gc
- CGA-6vh4-5qrw-647g
- CGA-7858-pf84-2m45
- CGA-7mwq-j22r-v3pr
- CGA-7xm7-w44x-79jg
- CGA-84r8-rg3j-qq6f
- CGA-86cq-p4j7-5372
- CGA-86pg-vjg9-mhq7
- CGA-86rm-85p7-mg8h
- CGA-8f2m-gr87-j9jm
- CGA-8rpw-fvh2-fgxf
- CGA-9hcr-cghh-j2wh
- CGA-c2hx-6x6h-w79x
- CGA-c34c-m93q-7wcj
- CGA-cgg5-p434-c7vg
- CGA-cgq2-wv46-g43j
- CGA-cq44-85xr-qhpg
- CGA-f93q-hgc9-7m5g
- CGA-ffgm-5cqm-6269
- CGA-fj5r-hcv8-hcwj
- CGA-fjjg-xx67-83q8
- CGA-fmjm-ff97-5mrx
- CGA-fw4w-vw92-hjxv
- CGA-g365-c23x-fcj8
- CGA-g5q9-fg6c-gvvv
- CGA-g75r-fvfw-2c6w
- CGA-g9gj-rc4q-rw3w
- CGA-gp8f-4j7c-j42v
- CGA-gr65-2m38-9ppf
- CGA-hf4f-w99j-26cr
- CGA-hhjm-q95q-3j8f
- CGA-hmgp-r26q-75rv
- CGA-hr3q-w9w3-8r4x
- CGA-hvmm-3mpj-w3fj
- CGA-j2jf-rvq4-w37f
- CGA-j38v-g5c8-mhf2
- CGA-j58w-fhfh-q7wv
- CGA-j68m-q834-xrpc
- CGA-j6pv-rm6r-w87r
- CGA-j6rq-66fw-fcm8
- CGA-j7qj-r8cf-xc8g
- CGA-jfp7-555j-fwm5
- CGA-jrxj-3pvc-h4h4
- CGA-jwv6-chw6-5mf3
- CGA-mff8-8fvq-fg9p
- CGA-mjgr-3fcm-v5m8
- CGA-mppq-qqpp-724g
- CGA-mxp7-9v8v-c75j
- CGA-mxpf-q45q-h6wm
- CGA-p2q3-mw2h-v6ff
- CGA-p3ff-x53m-5hj2
- CGA-p6wr-3jr4-2v45
- CGA-p98c-3m4h-rw2p
- CGA-pjf7-pqj3-fjch
- CGA-pmx3-j65p-pmrv
- CGA-pq56-69jx-qfwg
- CGA-px6h-558w-6p39
- CGA-q47w-pjp5-jc6m
- CGA-qgpp-vcf5-g2vw
- CGA-qjvr-v2mw-g4vp
- CGA-r542-4hh2-5xjg
- CGA-r5cw-99j8-c243
- CGA-r74r-jhj3-7qqj
- CGA-rc98-hrpv-929g
- CGA-rfm2-8v6r-j3mx
- CGA-rw24-8fh2-vc59
- CGA-rwp6-w2ph-2g5w
- CGA-v63j-cjjx-qp4r
- CGA-v998-mp42-f63f
- CGA-vmx8-p2vh-63jx
- CGA-vv4g-7cjw-pcwp
- CGA-w4q9-q7m2-jq6w
- CGA-w74h-r968-gjq9
- CGA-w8ww-xw76-2mp6
- CGA-wqp4-fc7w-h284
- CGA-wr6g-q8q3-vvwj
- CGA-x6rh-4p36-qfv8
- CGA-xfrm-x672-xq8g
- CGA-xj3m-7hw5-44ww
- CGA-xqf5-xpjx-hg75
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-45149.