UBUNTU-CVE-2026-73086
nanoid is a secure, URL-friendly, unique string ID generator for JavaScript. Prior to versions 3.3.12 and 5.1.11, the nanoid(size) function in index.js and index.cjs coerces the user-influenced size parameter to a signed 32-bit integer, allowing a value of 2147483648 to become -2147483648 and corrupt the process-wide CSPRNG poolOffset in fillPool(), which causes subsequent session tokens, CSRF tokens, API keys, and unique identifiers to become the deterministic string "uuuuuuuuuuuuuuuuuuuuu" until the process restarts. This issue is fixed in versions 3.3.12 and 5.1.11.
UBUNTU-CVE-2026-73086
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:UBUNTU-CVE-2026-73086
node-mocha
Source reference: /affected/0/package/name
- Affected versions
- 1.20.1-1
Source reference:
/affected/0/versions1.20.1-2Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-mocha
Source reference: /affected/1/package/name
- Affected versions
- 1.20.1-7
Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-mocha
Source reference: /affected/2/package/name
- Affected versions
- 4.1.0+ds3-5
Source reference:
/affected/2/versions7.0.1+ds1-2Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-postcss
Source reference: /affected/3/package/name
- Affected versions
- 6.0.23-1
Source reference:
/affected/3/versions6.0.23-3Source reference:
/affected/3/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-postcss
Source reference: /affected/4/package/name
- Affected versions
- 8.2.1+~cs5.3.23-8
Source reference:
/affected/4/versions8.4.5+~cs7.1.51-2Source reference:
/affected/4/versions8.4.6+~cs7.3.21-1Source reference:
/affected/4/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-postcss
Source reference: /affected/5/package/name
- Affected versions
- 8.4.20+~cs8.0.23-1
Source reference:
/affected/5/versions8.4.31+~cs8.0.26-1Source reference:
/affected/5/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-postcss
Source reference: /affected/6/package/name
- Affected versions
- 8.5.6+~cs9.3.28-1
Source reference:
/affected/6/versions8.5.8+~cs9.3.30-1Source reference:
/affected/6/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-mocha",
"purl": "pkg:deb/ubuntu/node-mocha?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.20.1-1",
"1.20.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73086.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-mocha",
"binary_version": "1.20.1-2"
},
{
"binary_name": "mocha",
"binary_version": "1.20.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-mocha",
"purl": "pkg:deb/ubuntu/node-mocha?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.20.1-7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73086.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-mocha",
"binary_version": "1.20.1-7"
},
{
"binary_name": "mocha",
"binary_version": "1.20.1-7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-mocha",
"purl": "pkg:deb/ubuntu/node-mocha?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"4.1.0+ds3-5",
"7.0.1+ds1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73086.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mocha",
"binary_version": "7.0.1+ds1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"6.0.23-1",
"6.0.23-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73086.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "6.0.23-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"8.2.1+~cs5.3.23-8",
"8.4.5+~cs7.1.51-2",
"8.4.6+~cs7.3.21-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73086.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.4.6+~cs7.3.21-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"8.4.20+~cs8.0.23-1",
"8.4.31+~cs8.0.26-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73086.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.4.31+~cs8.0.26-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-postcss",
"purl": "pkg:deb/ubuntu/node-postcss?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"8.5.6+~cs9.3.28-1",
"8.5.8+~cs9.3.30-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73086.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-postcss",
"binary_version": "8.5.8+~cs9.3.30-1"
}
]
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #51960 · Revision 1
- Added to Heist Feed
- Publisher date