ubuntu-cve-2026-13311
Vulnerability from osv_ubuntu
Published
2026-06-25 05:16
Modified
2026-06-29 21:18
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
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-shell-quote",
"binary_version": "1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "node-shell-quote",
"purl": "pkg:deb/ubuntu/node-shell-quote@1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6.1+20160617-git72fb5a8ce29b-1",
"1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-shell-quote",
"binary_version": "1.7.3+~1.7.1-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "node-shell-quote",
"purl": "pkg:deb/ubuntu/node-shell-quote@1.7.3+~1.7.1-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.3+~1.7.1-1",
"1.7.3+~1.7.1-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-shell-quote",
"binary_version": "1.7.4+~1.7.1-1ubuntu0.24.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "node-shell-quote",
"purl": "pkg:deb/ubuntu/node-shell-quote@1.7.4+~1.7.1-1ubuntu0.24.04.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.4+~1.7.1-1",
"1.7.4+~1.7.1-1ubuntu0.24.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-shell-quote",
"binary_version": "1.7.4+~1.7.1-1ubuntu0.25.10.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "node-shell-quote",
"purl": "pkg:deb/ubuntu/node-shell-quote@1.7.4+~1.7.1-1ubuntu0.25.10.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.4+~1.7.1-1",
"1.7.4+~1.7.1-1ubuntu0.25.10.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-shell-quote",
"binary_version": "1.8.3+~1.7.5-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"name": "node-shell-quote",
"purl": "pkg:deb/ubuntu/node-shell-quote@1.8.3+~1.7.5-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.4+~1.7.1-1",
"1.8.3+~1.7.5-1",
"1.8.3+~1.7.5-1ubuntu0.1~esm1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2026-13311",
"modified": "2026-06-29T21:18:15Z",
"published": "2026-06-25T05:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-13311"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-13311"
},
{
"type": "REPORT",
"url": "https://github.com/ljharb/shell-quote/security/advisories/GHSA-395f-4hp3-45gv"
},
{
"type": "REPORT",
"url": "https://www.npmjs.com/package/shell-quote"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-13311"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…