DEBIAN-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.
DEBIAN-CVE-2026-45149
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-45149
node-brace-expansion
Source reference: /affected/0/package/name
- Affected versions
- 2.0.1+~1.1.0-1
Source reference:
/affected/0/versions2.0.1+~1.1.0-2Source reference:
/affected/0/versions2.0.1-2Source reference:
/affected/0/versions2.0.3+~1.1.2-1Source reference:
/affected/0/versions2.0.3+~1.1.2-2Source reference:
/affected/0/versions2.0.3+~1.1.2-3Source reference:
/affected/0/versions2.1.4+~1.1.2-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-brace-expansion
Source reference: /affected/1/package/name
- Affected versions
- 2.0.1+~1.1.0-2
Source reference:
/affected/1/versions2.0.3+~1.1.2-1Source reference:
/affected/1/versions2.0.3+~1.1.2-2Source reference:
/affected/1/versions2.0.3+~1.1.2-3Source reference:
/affected/1/versions2.1.4+~1.1.2-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-brace-expansion
Source reference: /affected/2/package/name
- Affected versions
- 2.0.1+~1.1.0-2
Source reference:
/affected/2/versions2.0.3+~1.1.2-1Source reference:
/affected/2/versions2.0.3+~1.1.2-2Source reference:
/affected/2/versions - Fixed versions
- 2.0.3+~1.1.2-3
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-brace-expansion",
"purl": "pkg:deb/debian/node-brace-expansion?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.0.1+~1.1.0-1",
"2.0.1+~1.1.0-2",
"2.0.1-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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-brace-expansion",
"purl": "pkg:deb/debian/node-brace-expansion?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.3+~1.1.2-3"
}
]
}
],
"package": {
"name": "node-brace-expansion",
"purl": "pkg:deb/debian/node-brace-expansion?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.0.1+~1.1.0-2",
"2.0.3+~1.1.2-1",
"2.0.3+~1.1.2-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56520 · Revision 1
- Added to Heist Feed
- Publisher date