DEBIAN-CVE-2026-45149

Source
https://security-tracker.debian.org/tracker/CVE-2026-45149
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-45149
Upstream
Published
2026-05-29T20:16:25Z
Modified
2026-09-14T17:03:42Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / node-brace-expansion

Package

Name
node-brace-expansion
Purl
pkg:deb/debian/node-brace-expansion?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.1-2
2.0.1+~1.1.0-1
2.0.1+~1.1.0-2
2.0.3+~1.1.2-1
2.0.3+~1.1.2-2
2.0.3+~1.1.2-3
2.1.4+~1.1.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json"

Debian:13 / node-brace-expansion

Package

Name
node-brace-expansion
Purl
pkg:deb/debian/node-brace-expansion?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.1+~1.1.0-2
2.0.3+~1.1.2-1
2.0.3+~1.1.2-2
2.0.3+~1.1.2-3
2.1.4+~1.1.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json"

Debian:14 / node-brace-expansion

Package

Name
node-brace-expansion
Purl
pkg:deb/debian/node-brace-expansion?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.3+~1.1.2-3

Affected versions

2.*
2.0.1+~1.1.0-2
2.0.3+~1.1.2-1
2.0.3+~1.1.2-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json"