DEBIAN-CVE-2026-45149

Source
https://security-tracker.debian.org/tracker/CVE-2026-45149
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45149.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-45149
Upstream
Published
2026-05-29T20:16:25.550Z
Modified
2026-05-31T09:00:10.412968919Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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:11 / node-brace-expansion

Package

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

Affected ranges

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

Affected versions

2.*
2.0.0-1
2.0.1-1
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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

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

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
0Unknown 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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-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
0Unknown 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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-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
0Unknown 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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

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