CVE catalog

CVE-2026-13311

shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a resul

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-shell-quotesid1.12.0-1fixed
Debiannode-shell-quoteforky1.12.0-1fixed
Debiannode-shell-quotetrixie1.7.4+~1.7.1-1+deb13u1vulnerable
Debiannode-shell-quotetrixie-security1.7.4+~1.7.1-1+deb13u2fixed
Debiannode-shell-quotebookworm1.7.4+~1.7.1-1+deb12u1vulnerable
Debiannode-shell-quotebookworm-security1.7.4+~1.7.1-1+deb12u1vulnerable
Cpenode-shell-quoteNot reportedNot reportedvulnerable
Cpeshell-quoteNot reported1.9.0fixed
Npmshell-quoteNot reported1.9.0fixed
Opensuseagama-web-uitumbleweed23+75.1a877fb50-50.1fixed
Opensusepython-pytest-htmlleap 16.04.1.1-bp160.3.1fixed
Opensusepython-pytest-htmltumbleweed4.2.0-3.1fixed
Opensuseheroic-games-launchertumbleweed2.22.0-3.1fixed
Cpeshell-quoteNot reported1.9.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-shell-quotesourcesid1.9.0+~1.7.5-1not yet assignedNot reported[1140921]
Debiannode-shell-quotesourceforky1.9.0+~1.7.5-1not yet assignedNot reported[1140921]
Debiannode-shell-quotesourcetrixie1.7.4+~1.7.1-1+deb13u2not yet assignedNot reported[1140921]
Debiannode-shell-quotesourcebookworm(unfixed)not yet assignedNot reported[1140921]
Cpeshell-quotecpeNot reported1.9.0Not reportedNot reportedNot reported
Npmshell-quotenpmNot reported1.9.0Not reportedNot reportedNot reported
Opensuseagama-web-uirpmtumbleweed23+75.1a877fb50-50.1Not reportedOPENSUSE-SU-2026:11472-1Not reported
Opensusepython-pytest-htmlrpmleap 16.04.1.1-bp160.3.1Not reportedOPENSUSE-SU-2026:21176-1Not reported
Opensusepython-pytest-htmlrpmtumbleweed4.2.0-3.1Not reportedOPENSUSE-SU-2026:11149-1Not reported
Opensuseheroic-games-launcherrpmtumbleweed2.22.0-3.1Not reportedOPENSUSE-SU-2026:11145-1Not reported
Cpeshell-quotecpeNot reported1.9.0Not reportedNVD-CVE-2026-13311Not reported

[Debian bug #1140921]

Notes

[bookworm] node-shell-quote: Minor issue; quadratic-complexity DoS in parse(), reachable only where a service parses attacker-supplied strings

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (4)
    • 1.7.4+~1.7.1-1+deb12u1 · all · bookworm

      Affected

      nvd · node-shell-quote · debian · bookworm; nvd · node-shell-quote · debian · 12

    • 1.7.4+~1.7.1-1+deb12u1 · all · bookworm

      Affected

      nvd · node-shell-quote · debian · bookworm; nvd · node-shell-quote · debian · 12

    • 1.7.4+~1.7.1-1+deb12u1 · all · bookworm-security

      Affected

      nvd · node-shell-quote · debian · bookworm; nvd · node-shell-quote · debian · 12

    • 1.7.4+~1.7.1-1+deb12u1 · all · bookworm-security

      Affected

      nvd · node-shell-quote · debian · bookworm; nvd · node-shell-quote · debian · 12

[Debian 13 (Trixie)]

  • Details (5)
    • 1.7.4+~1.7.1-1+deb13u1 · all · trixie

      Affected · Fixed: 1.7.4+~1.7.1-1+deb13u2

      nvd · node-shell-quote · debian · 13

    • 1.7.4+~1.7.1-1+deb13u1 · all · trixie

      Affected · Fixed: 1.7.4+~1.7.1-1+deb13u2

      nvd · node-shell-quote · debian · 13

    • 1.7.4+~1.7.1-1+deb13u1 · all · trixie-security

      Affected · Fixed: 1.7.4+~1.7.1-1+deb13u2

      nvd · node-shell-quote · debian · 13

    • 1.7.4+~1.7.1-1+deb13u1 · all · trixie-security · Historical version

      Affected · Fixed: 1.7.4+~1.7.1-1+deb13u2

      nvd · node-shell-quote · debian · 13

    • 1.7.4+~1.7.1-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 1.7.4+~1.7.1-1+deb13u2

      nvd · node-shell-quote · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-pytest-html]

    Details (1)
    • 4.2.0-5.1 · noarch · tumbleweed

      Unknown · Fixed: 4.2.0-3.1

      Version impact unknown

      nvd · python-pytest-html · opensuse · tumbleweed

  • Source package: [python-pytest-html]

    Details (1)
    • 4.2.0-5.1 · noarch · tumbleweed

      Unknown · Fixed: 4.2.0-3.1

      Version impact unknown

      nvd · python-pytest-html · opensuse · tumbleweed

  • Source package: [agama-web-ui]

    Details (1)
    • 23+278.4096bc82f-51.1 · noarch · tumbleweed

      Fixed · Fixed: 23+75.1a877fb50-50.1

      nvd · agama-web-ui · opensuse · tumbleweed

  • Source package: [heroic-games-launcher]

    Details (1)
    • 2.22.1-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 2.22.0-3.1

      nvd · heroic-games-launcher · opensuse · tumbleweed

Observed:

References