CVE-2026-25547

NameCVE-2026-25547
Description@isaacs/brace-expansion is a hybrid CJS/ESM TypeScript fork of brace-expansion. Prior to version 5.0.1, @isaacs/brace-expansion is vulnerable to a denial of service (DoS) issue caused by unbounded brace range expansion. When an attacker provides a pattern containing repeated numeric brace ranges, the library attempts to eagerly generate every possible combination synchronously. Because the expansion grows exponentially, even a small input can consume excessive CPU and memory and may crash the Node.js process. This issue has been patched in version 5.0.1.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1127313

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-brace-expansion (PTS)bullseye2.0.0-1vulnerable
bookworm2.0.1-2vulnerable
forky, sid, trixie2.0.1+~1.1.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-brace-expansionsource(unstable)(unfixed)1127313

Notes

https://github.com/isaacs/brace-expansion/security/advisories/GHSA-7h2j-956f-4vf2
Fixed by: https://github.com/isaacs/brace-expansion/commit/59d12f1e23accdec8c395ca824cf942c1fdea860

Search for package or bug name: Reporting problems