UBUNTU-CVE-2026-13311

Source
https://ubuntu.com/security/CVE-2026-13311
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13311.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-13311
Upstream
  • CVE-2026-13311
Published
2026-06-26T00:00:00Z
Modified
2026-06-26T12:27:59.994187624Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-shell-quote

Package

Name
node-shell-quote
Purl
pkg:deb/ubuntu/node-shell-quote?arch=source&distro=esm-apps%2Fbionic

Affected ranges

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

Affected versions

1.*
1.6.1+20160617-git72fb5a8ce29b-1
1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1",
            "binary_name": "node-shell-quote"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13311.json"

Ubuntu:Pro:22.04:LTS / node-shell-quote

Package

Name
node-shell-quote
Purl
pkg:deb/ubuntu/node-shell-quote?arch=source&distro=esm-apps%2Fjammy

Affected ranges

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

Affected versions

1.*
1.7.3+~1.7.1-1
1.7.3+~1.7.1-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.7.3+~1.7.1-1ubuntu0.1~esm1",
            "binary_name": "node-shell-quote"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13311.json"

Ubuntu:24.04:LTS / node-shell-quote

Package

Name
node-shell-quote
Purl
pkg:deb/ubuntu/node-shell-quote?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.7.4+~1.7.1-1
1.7.4+~1.7.1-1ubuntu0.24.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.7.4+~1.7.1-1ubuntu0.24.04.1",
            "binary_name": "node-shell-quote"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13311.json"

Ubuntu:25.10 / node-shell-quote

Package

Name
node-shell-quote
Purl
pkg:deb/ubuntu/node-shell-quote?arch=source&distro=questing

Affected ranges

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

Affected versions

1.*
1.7.4+~1.7.1-1
1.7.4+~1.7.1-1ubuntu0.25.10.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.7.4+~1.7.1-1ubuntu0.25.10.1",
            "binary_name": "node-shell-quote"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13311.json"

Ubuntu:Pro:26.04:LTS / node-shell-quote

Package

Name
node-shell-quote
Purl
pkg:deb/ubuntu/node-shell-quote?arch=source&distro=esm-apps%2Fresolute

Affected ranges

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

Affected versions

1.*
1.7.4+~1.7.1-1
1.8.3+~1.7.5-1
1.8.3+~1.7.5-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.8.3+~1.7.5-1ubuntu0.1~esm1",
            "binary_name": "node-shell-quote"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13311.json"