CVEfocus › CVE database › CVE-2026-14257

CVE-2026-14257brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash

CVSS 7.5 HighEPSS 0.8% (higher than 55% of CVEs)Published 2026-07-23Updated 2026-07-23Assigner: seal

brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function limits the number of results with a max option (default 100,000) but does not bound the length of each result string. By chaining multiple brace groups, an attacker keeps the result count under the limit while making each result progressively longer, so total memory scales with both count and string length until the process hits a fatal, uncatchable out-of-memory error. About 7.5 KB of input ('{a,b}'.repeat(1500)) crashes a default Node.js process. Any application that passes attacker-influenced strings to brace-expansion.expand() - directly or transitively via minimatch / glob brace patterns - can be crashed by a small request. Fixed in 5.0.8 by adding a maxLength option (default 4,000,000) that bounds accumulated output and intermediate arrays.

CWE-400CWE-770

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

70Fixed
6Fix pending
3Under investigation
67Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-brace-expansionFix pendingUBUNTU-CVE-2026-14257
Ubuntu 26.04node-brace-expansionUnder investigationUBUNTU-CVE-2026-14257
Ubuntu 24.04node-brace-expansionUnder investigationUBUNTU-CVE-2026-14257
Ubuntu 22.04node-brace-expansionUnder investigationUBUNTU-CVE-2026-14257
Ubuntu 20.04node-brace-expansionFix pendingUBUNTU-CVE-2026-14257
Ubuntu 18.04node-brace-expansionFix pendingUBUNTU-CVE-2026-14257
Debian 14node-brace-expansionFix pendingDEBIAN-CVE-2026-14257
Debian 13node-brace-expansionFix pendingDEBIAN-CVE-2026-14257
Debian 12node-brace-expansionFix pendingDEBIAN-CVE-2026-14257
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10nodejsFixed1:22.23.1-6.el10_2RHSA-2026:55541
Red Hat Enterprise Linux 10nodejs-develFixed1:22.23.1-6.el10_2RHSA-2026:55541
Red Hat Enterprise Linux 10nodejs-docsFixed1:22.23.1-6.el10_2RHSA-2026:55541
Red Hat Enterprise Linux 10nodejs-full-i18nFixed1:22.23.1-6.el10_2RHSA-2026:55541
Red Hat Enterprise Linux 10nodejs-libsFixed1:22.23.1-6.el10_2RHSA-2026:55541
Red Hat Enterprise Linux 10nodejs-nodemonNot affected
Red Hat Enterprise Linux 10nodejs-npmFixed1:10.9.8-1.22.23.1.6.el10_2RHSA-2026:55541
Red Hat Enterprise Linux 10nodejs22Fixed1:22.23.1-6.el10_2RHSA-2026:55541
Red Hat Enterprise Linux 10nodejs24Fixed1:24.18.0-5.el10_2RHSA-2026:58819
Red Hat Enterprise Linux 10nodejs24-develFixed1:24.18.0-5.el10_2RHSA-2026:58819
Red Hat Enterprise Linux 10nodejs24-docsFixed1:24.18.0-5.el10_2RHSA-2026:58819
Red Hat Enterprise Linux 10nodejs24-full-i18nFixed1:24.18.0-5.el10_2RHSA-2026:58819
Red Hat Enterprise Linux 10nodejs24-libsFixed1:24.18.0-5.el10_2RHSA-2026:58819
Red Hat Enterprise Linux 10nodejs24-npmFixed1:11.16.0-1.24.18.0.5.el10_2RHSA-2026:58819
Red Hat Enterprise Linux 10rh-podman-desktopFixed0:1.1.2-1.el10_2RHSA-2026:57590
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9nodejsFixed1:24.18.0-6.module+el9.8.0+24638+75f46aeeRHSA-2026:55601
Red Hat Enterprise Linux 9nodejs-develFixed1:24.18.0-6.module+el9.8.0+24638+75f46aeeRHSA-2026:55601
Red Hat Enterprise Linux 9nodejs-docsFixed1:24.18.0-6.module+el9.8.0+24638+75f46aeeRHSA-2026:55601
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:22.23.1-3.module+el9.8.0+24637+e0b636e5RHSA-2026:55603
Red Hat Enterprise Linux 9nodejs-libsFixed1:24.18.0-6.module+el9.8.0+24638+75f46aeeRHSA-2026:55601
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.1.14-3.module+el9.8.0+24638+75f46aeeRHSA-2026:55601
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.8.0+24156+bb41d456RHSA-2026:55603
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-6.module+el9.8.0+24156+bb41d456RHSA-2026:55603
Red Hat Enterprise Linux 9npmFixed1:11.16.0-1.24.18.0.6.module+el9.8.0+24638+75f46aeeRHSA-2026:55601
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 9v8-12.4-develFixed3:12.4.254.21-1.22.23.1.3.module+el9.8.0+24637+e0b636e5RHSA-2026:55601
Red Hat Enterprise Linux 9v8-13.6-develFixed3:13.6.233.17-1.24.18.0.6.module+el9.8.0+24638+75f46aeeRHSA-2026:55603
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8nodejsFixed1:22.23.1-3.module+el8.10.0+24640+6eba5e6eRHSA-2026:54371
Red Hat Enterprise Linux 8nodejs-develFixed1:24.18.0-3.module+el8.10.0+24639+56878497RHSA-2026:54530
Red Hat Enterprise Linux 8nodejs-docsFixed1:22.23.1-3.module+el8.10.0+24640+6eba5e6eRHSA-2026:54371
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:24.18.0-3.module+el8.10.0+24639+56878497RHSA-2026:54530
Red Hat Enterprise Linux 8nodejs-libsFixed1:24.18.0-3.module+el8.10.0+24639+56878497RHSA-2026:54530
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.1.14-2.module+el8.10.0+24640+6eba5e6eRHSA-2026:54371
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+24500+8eb51621RHSA-2026:54371
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-6.module+el8.10.0+24562+090c6525RHSA-2026:54530
Red Hat Enterprise Linux 8npmFixed1:10.9.8-1.22.23.1.3.module+el8.10.0+24640+6eba5e6eRHSA-2026:54371
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 8v8-12.4-develFixed3:12.4.254.21-1.22.23.1.3.module+el8.10.0+24640+6eba5e6eRHSA-2026:54530
Red Hat Enterprise Linux 8v8-13.6-develFixed3:13.6.233.17-1.24.18.0.3.module+el8.10.0+24639+56878497RHSA-2026:54371
Red Hat Enterprise Linux 7python-syspurposeNot affected
Red Hat Enterprise Linux 7rhsm-gtkNot affected
Red Hat Enterprise Linux 7subscription-managerNot affected
Red Hat Enterprise Linux 7subscription-manager-cockpitNot affected
Red Hat Enterprise Linux 7subscription-manager-guiNot affected
Red Hat Enterprise Linux 7subscription-manager-initial-setup-addonNot affected
Red Hat Enterprise Linux 7subscription-manager-migrationNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-containerNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-ostreeNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsmNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsm-certificatesNot affected
AlmaLinux 10nodejs-docsFixed1:22.23.1-6.el10_2ALSA-2026:55541
AlmaLinux 10nodejs24-docsFixed1:24.18.0-5.el10_2ALSA-2026:58819
AlmaLinux 10nodejs24-npmFixed1:11.16.0-1.24.18.0.5.el10_2ALSA-2026:58819
AlmaLinux 9nodejsFixed1:22.23.1-3.module_el9.8.0+291+0bb98cceALSA-2026:55603
AlmaLinux 9nodejs-develFixed1:24.18.0-6.module_el9.8.0+292+f4eaf8b2ALSA-2026:55601
AlmaLinux 9nodejs-docsFixed1:24.18.0-6.module_el9.8.0+292+f4eaf8b2ALSA-2026:55601
AlmaLinux 9nodejs-full-i18nFixed1:22.23.1-3.module_el9.8.0+291+0bb98cceALSA-2026:55603
AlmaLinux 9nodejs-libsFixed1:24.18.0-6.module_el9.8.0+292+f4eaf8b2ALSA-2026:55601
AlmaLinux 9nodejs-nodemonFixed3.1.14-3.module_el9.8.0+292+f4eaf8b2ALSA-2026:55601
AlmaLinux 9nodejs-packagingFixed2021.06-6.module_el9.7.0+227+12323393ALSA-2026:55603
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:55601
AlmaLinux 9npmFixed1:10.9.8-1.22.23.1.3.module_el9.8.0+291+0bb98cceALSA-2026:55603
AlmaLinux 9v8-12.4-develFixed3:12.4.254.21-1.22.23.1.3.module_el9.8.0+291+0bb98cceALSA-2026:55601
AlmaLinux 9v8-13.6-develFixed3:13.6.233.17-1.24.18.0.6.module_el9.8.0+292+f4eaf8b2ALSA-2026:55603
AlmaLinux 8nodejsFixed1:24.18.0-3.module_el8.10.0+4250+09238ed4ALSA-2026:54530
AlmaLinux 8nodejs-develFixed1:24.18.0-3.module_el8.10.0+4250+09238ed4ALSA-2026:54530
AlmaLinux 8nodejs-docsFixed1:24.18.0-3.module_el8.10.0+4250+09238ed4ALSA-2026:54530
AlmaLinux 8nodejs-full-i18nFixed1:22.23.1-3.module_el8.10.0+4251+b427b8a5ALSA-2026:54371
AlmaLinux 8nodejs-libsFixed1:22.23.1-3.module_el8.10.0+4251+b427b8a5ALSA-2026:54371
AlmaLinux 8nodejs-nodemonFixed3.1.14-2.module_el8.10.0+4252+aedd4c30ALSA-2026:54371
AlmaLinux 8nodejs-packagingFixed2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:54371
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:54530
AlmaLinux 8npmFixed1:11.16.0-1.24.18.0.3.module_el8.10.0+4250+09238ed4ALSA-2026:54530
AlmaLinux 8v8-12.4-develFixed3:12.4.254.21-1.22.23.1.3.module_el8.10.0+4251+b427b8a5ALSA-2026:54530
AlmaLinux 8v8-13.6-develFixed3:13.6.233.17-1.24.18.0.3.module_el8.10.0+4250+09238ed4ALSA-2026:54371
Rocky Linux 10nodejs22Fixed1:22.23.1-6.el10_2RLSA-2026:55541
Rocky Linux 10nodejs24Fixed1:24.18.0-5.el10_2RLSA-2026:58819
Rocky Linux 9nodejsFixed1:24.18.0-6.module+el9.8.0+40281+14cc6568RLSA-2026:55601
Rocky Linux 9nodejs-nodemonFixed0:3.1.14-2.module+el9.8.0+40280+057606e8RLSA-2026:55603
Rocky Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:55601
Rocky Linux 8nodejsFixed1:24.18.0-3.module+el8.10.0+40277+b1b3f89eRLSA-2026:54530
Rocky Linux 8nodejs-nodemonFixed0:3.1.14-2.module+el8.10.0+40278+50b003a3RLSA-2026:54371
Rocky Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:54530
npm librarybrace-expansionFixed5.0.8GHSA-mh99-v99m-4gvg

What the vendor says

As published in the CVE record by seal, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.