Advisory

DEBIAN-CVE-2026-13311

Also known as: CVE-2026-13311

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-06-25 05:16 UTC
Modified
2026-11-12 21:00 UTC

Affected packages and fixes

node-shell-quote

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.7.4+~1.7.1-1+deb12u2 (ecosystem)

Fixed versions

1.7.4+~1.7.1-1+deb12u2

Fix

  • Fixed version 1.7.4+~1.7.1-1+deb12u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-shell-quote

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.7.4+~1.7.1-1+deb13u2 (ecosystem)

Fixed versions

1.7.4+~1.7.1-1+deb13u2

Fix

  • Fixed version 1.7.4+~1.7.1-1+deb13u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-shell-quote

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.9.0+~1.7.5-1 (ecosystem)

Fixed versions

1.9.0+~1.7.5-1

Fix

  • Fixed version 1.9.0+~1.7.5-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences