Ojuju Advisory
DEBIAN-CVE-2026-67213 Also known as: CVE-2026-67213
Summary The record has no summary.
Details nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.
Severity High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Dates Published 2026-07-29 14:16 UTC Modified 2026-10-24 10:01 UTC
Affected packages and fixes node-mocha
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 9.1.4+ds1+~cs28.2.8-1 (ecosystem)
Fixed versions 9.1.4+ds1+~cs28.2.8-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
node-mocha
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 9.1.4+ds1+~cs28.2.8-1 (ecosystem)
Fixed versions 9.1.4+ds1+~cs28.2.8-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
node-mocha
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 9.1.4+ds1+~cs28.2.8-1 (ecosystem)
Fixed versions 9.1.4+ds1+~cs28.2.8-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
node-postcss
Debian packages (deb) · Debian 12
Affected
Fixed versions None listed
Fix No fixed version is listed.
node-postcss
Debian packages (deb) · Debian 13
Affected
Fixed versions None listed
Fix No fixed version is listed.
node-postcss
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 8.5.8+~cs9.3.30-1 (ecosystem)
Fixed versions 8.5.8+~cs9.3.30-1
Fix 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 →