Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-14257

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-14257

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-14257

node-brace-expansion

Source reference: /affected/0/package/name

Affected versions
2.0.1+~1.1.0-1

Source reference: /affected/0/versions

2.0.1+~1.1.0-2

Source reference: /affected/0/versions

2.0.1-2

Source reference: /affected/0/versions

2.0.3+~1.1.2-1

Source reference: /affected/0/versions

2.0.3+~1.1.2-2

Source reference: /affected/0/versions

2.0.3+~1.1.2-3

Source reference: /affected/0/versions

2.1.4+~1.1.2-1

Source reference: /affected/0/versions

2.1.7+~1.1.2-1

Source 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/versions

2.0.3+~1.1.2-1

Source reference: /affected/1/versions

2.0.3+~1.1.2-2

Source reference: /affected/1/versions

2.0.3+~1.1.2-3

Source reference: /affected/1/versions

2.1.4+~1.1.2-1

Source reference: /affected/1/versions

2.1.7+~1.1.2-1

Source 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/versions

2.0.3+~1.1.2-1

Source reference: /affected/2/versions

2.0.3+~1.1.2-2

Source reference: /affected/2/versions

2.0.3+~1.1.2-3

Source reference: /affected/2/versions

2.1.4+~1.1.2-1

Source reference: /affected/2/versions

2.1.7+~1.1.2-1

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
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",
      "2.1.7+~1.1.2-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14257.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",
      "2.1.7+~1.1.2-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14257.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=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",
      "2.0.3+~1.1.2-3",
      "2.1.4+~1.1.2-1",
      "2.1.7+~1.1.2-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14257.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#55529 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement