CVE-2026-67214 nanoid Infinite Loop via Negative Size in non-secure module
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
nanoid (Nano ID) before 3.3.16 and 5.1.16 contains an infinite loop in the customAlphabet and nanoid functions of its non-secure module (nanoid/non-secure). When these functions are given a negative size, the loop counter is decremented from a negative value and never reaches its termination condition, spinning indefinitely and hanging the calling thread. An application that passes an unvalidated, attacker-controlled negative size to these functions is exposed to a denial-of-service condition.
Upgrade path
63 packages: 12 fixed, 51 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-postcss(Debian 12) | = 8.4.20+~cs8.0.23-1; = 8.4.20+~cs8.0.23-1+deb12u1; = 8.4.31+~cs8.0.26-1; = 8.4.39+~cs9.2.29-1 +17 more | No fix listed | No fix yet |
| debian/node-postcss(Debian 13) | = 8.4.49+~cs9.2.32-1; = 8.5.6+~cs9.3.28-1; = 8.5.8+~cs9.3.30-1; = 8.5.9+~cs9.3.30-1 +13 more | No fix listed | No fix yet |
| redhat/ansible-automation-platform/automation-portal:1788775748(Red Hat ansible_portal 2.1) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform/automation-portal:1788783591(Red Hat ansible_portal 2.2) | All versions | No fix listed | No fix yet |
| redhat/apicurio/apicurio-registry-ui-rhel8(Red Hat apicurio_registry 3) | All versions | No fix listed | No fix yet |
| redhat/apicurio/apicurio-registry-ui-rhel9(Red Hat apicurio_registry 3) | All versions | No fix listed | No fix yet |
| redhat/automation-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9:1787762793(Red Hat openshift_devspaces 3.30 el9) | All versions | No fix listed | No fix yet |
| redhat/devspaces/openvsx-rhel9:1787759145(Red Hat openshift_devspaces 3.30 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-ui-rhel9:1788206196(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/external-secrets-management/console-plugin-rhel9(Red Hat secrets_management_console 0) | All versions | No fix listed | No fix yet |
| redhat/grafana(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/microshift-gitops(Red Hat openshift_gitops 1) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/console-mce-rhel9:1786668856(Red Hat multicluster_engine 2.17 el9) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/console-mce-rhel9:1787079359(Red Hat multicluster_engine 2.9 el9) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/console-mce-rhel9:1787259048(Red Hat multicluster_engine 2.8 el9) | All versions | No fix listed | No fix yet |
| redhat/nanoid(Red Hat jboss_fuse 7) | All versions | No fix listed | No fix yet |
| redhat/odf4/odf-console-rhel9:1793126829(Red Hat openshift_data_foundation 4.19 el9) | All versions | No fix listed | No fix yet |
| redhat/openshift-gitops-argocd-cli(Red Hat openshift_gitops 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-console-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift5/ose-console-rhel9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1788191755(Red Hat quay 3.15 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1788561841(Red Hat quay 3.10 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1788593843(Red Hat quay 3.14 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1788594376(Red Hat quay 3.12 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8:1788595574(Red Hat quay 3.9 el8) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel9:1789563753(Red Hat quay 3.16 el9) | All versions | No fix listed | No fix yet |
… and 33 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm nanoid | >= 4.0.0, < 5.1.16 | 5.1.16 |
| npm nanoid | < 3.3.16 | 3.3.16 |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2.6::el9) | < 2.6.14-1.el9ap | 2.6.14-1.el9ap |
| redhat/multicluster-engine/console-mce-rhel9:1786668856(Red Hat:multicluster_engine:2.17::el9) | All versions | No fix listed |
| redhat/multicluster-engine/console-mce-rhel9:1787259048(Red Hat:multicluster_engine:2.8::el9) | All versions | No fix listed |
| redhat/multicluster-engine/console-mce-rhel9:1787079359(Red Hat:multicluster_engine:2.9::el9) | All versions | No fix listed |
| redhat/rhacm2/console-rhel9:1787687062(Red Hat:acm:2.11::el9) | All versions | No fix listed |
| redhat/rhacm2/console-rhel9:1787339249(Red Hat:acm:2.13::el9) | All versions | No fix listed |
| redhat/rhacm2/console-rhel9:1787339248(Red Hat:acm:2.14::el9) | All versions | No fix listed |
| redhat/rhacm2/console-rhel9:1787335105(Red Hat:acm:2.17::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1788775748(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1788783591(Red Hat:ansible_portal:2.2) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1789554285(Red Hat:rhdh:1.9::el9) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1788206196(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/grafana13-1-main(Red Hat:hummingbird:1) | < 13.1.1-0.3.hum1 | 13.1.1-0.3.hum1 |
| redhat/jaeger-main(Red Hat:hummingbird:1) | < 2.20.0-0.7.hum1 | 2.20.0-0.7.hum1 |
| redhat/grafana13-2-main(Red Hat:hummingbird:1) | < 13.2.0-0.1.1.hum1 | 13.2.0-0.1.1.hum1 |
| redhat/rhoai/odh-feature-server-rhel9:1792148523(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/odf4/odf-console-rhel9:1793126829(Red Hat:openshift_data_foundation:4.19::el9) | All versions | No fix listed |
| redhat/devspaces/code-rhel9:1787762793(Red Hat:openshift_devspaces:3.30::el9) | All versions | No fix listed |
| redhat/devspaces/openvsx-rhel9:1787759145(Red Hat:openshift_devspaces:3.30::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1788561841(Red Hat:quay:3.10::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1788594376(Red Hat:quay:3.12::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1788593843(Red Hat:quay:3.14::el8) | All versions | No fix listed |
Show 85 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/quay/quay-rhel8:1788191755(Red Hat:quay:3.15::el8) | All versions | No fix listed |
| redhat/quay/quay-rhel9:1789563753(Red Hat:quay:3.16::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel9:1790690298(Red Hat:quay:3.17::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel9:1791265590(Red Hat:quay:3.18::el9) | All versions | No fix listed |
| redhat/quay/quay-rhel8:1788595574(Red Hat:quay:3.9::el8) | All versions | No fix listed |
| redhat/rhtas/rekor-search-ui-rhel9:1791534339(Red Hat:trusted_artifact_signer:1.4::el9) | All versions | No fix listed |
| redhat/rhmtc/openshift-migration-ui-rhel8(Red Hat:rhmt:1) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-remediation-console-rhel8(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/apicurio/apicurio-registry-ui-rhel8(Red Hat:apicurio_registry:3) | All versions | No fix listed |
| redhat/apicurio/apicurio-registry-ui-rhel9(Red Hat:apicurio_registry:3) | All versions | No fix listed |
| redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/redhat-certification-cnf(Red Hat:certifications:9) | All versions | No fix listed |
| redhat/rhcl-1/rhcl-console-plugin-rhel9(Red Hat:connectivity_link:1) | All versions | No fix listed |
| redhat/grafana(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/nanoid(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift5/ose-console-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/microshift-gitops(Red Hat:openshift_gitops:1) | All versions | No fix listed |
| redhat/openshift-gitops-argocd-cli(Red Hat:openshift_gitops:1) | All versions | No fix listed |
| redhat/satellite/iop-advisor-frontend-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/external-secrets-management/console-plugin-rhel9(Red Hat:secrets_management_console:0) | All versions | No fix listed |
| npm nanoid(npm) | < 3.3.16 | 3.3.16 |
| npm nanoid(npm) | >= 4.0.0, < 5.1.16 | 5.1.16 |
| debian/node-mocha(Debian:12) | < 9.1.4+ds1+~cs28.2.8-1 | 9.1.4+ds1+~cs28.2.8-1 |
| debian/node-mocha(Debian:13) | < 9.1.4+ds1+~cs28.2.8-1 | 9.1.4+ds1+~cs28.2.8-1 |
| debian/node-mocha(Debian:14) | < 9.1.4+ds1+~cs28.2.8-1 | 9.1.4+ds1+~cs28.2.8-1 |
| debian/node-postcss(Debian:12) | All versions | No fix listed |
| debian/node-postcss(Debian:12) | = 8.4.20+~cs8.0.23-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.4.20+~cs8.0.23-1+deb12u1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.4.31+~cs8.0.26-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.4.39+~cs9.2.29-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.4.49+~cs9.2.32-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.12+~cs9.3.32-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.14+~cs9.3.34-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.15+~cs9.3.34-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.15+~cs9.3.38-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.15+~cs9.3.39-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.19+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.21+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.23+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.25+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.26+~cs10.2.24-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.28+~cs10.2.24-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.31+~cs10.2.26-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.6+~cs9.3.28-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.8+~cs9.3.30-1 | No fix listed |
| debian/node-postcss(Debian:12) | = 8.5.9+~cs9.3.30-1 | No fix listed |
| debian/node-postcss(Debian:13) | All versions | No fix listed |
| debian/node-postcss(Debian:13) | = 8.4.49+~cs9.2.32-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.12+~cs9.3.32-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.14+~cs9.3.34-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.15+~cs9.3.34-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.15+~cs9.3.38-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.15+~cs9.3.39-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.19+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.21+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.23+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.25+~cs10.2.23-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.26+~cs10.2.24-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.28+~cs10.2.24-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.31+~cs10.2.26-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.6+~cs9.3.28-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.8+~cs9.3.30-1 | No fix listed |
| debian/node-postcss(Debian:13) | = 8.5.9+~cs9.3.30-1 | No fix listed |
| debian/node-postcss(Debian:14) | < 8.5.15+~cs9.3.39-1 | 8.5.15+~cs9.3.39-1 |
| debian/node-postcss(Debian:14) | = 8.4.49+~cs9.2.32-1 | No fix listed |
| debian/node-postcss(Debian:14) | = 8.5.12+~cs9.3.32-1 | No fix listed |
| debian/node-postcss(Debian:14) | = 8.5.14+~cs9.3.34-1 | No fix listed |
| debian/node-postcss(Debian:14) | = 8.5.15+~cs9.3.34-1 | No fix listed |
| debian/node-postcss(Debian:14) | = 8.5.15+~cs9.3.38-1 | No fix listed |
| debian/node-postcss(Debian:14) | = 8.5.6+~cs9.3.28-1 | No fix listed |
| debian/node-postcss(Debian:14) | = 8.5.8+~cs9.3.30-1 | No fix listed |
| debian/node-postcss(Debian:14) | = 8.5.9+~cs9.3.30-1 | No fix listed |
| ubuntu/node-postcss(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-postcss(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-postcss(Ubuntu:26.04) | All versions | No fix listed |
| nanoid project nanoid | < 3.3.16 | 3.3.16 |
| nanoid project nanoid | >= 4.0.0, < 5.1.16 | 5.1.16 |
| azure linux python-jupytext(Azure Linux:4.0) | < 0:1.19.6-2.azl4 | 0:1.19.6-2.azl4 |
References
- v5.1.16 Release Notes product release-notes
- v3.3.16 Release Notes product release-notes
- Fix Commit patch
- VulnCheck Advisory patch release-notes third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:71113 patch vendor-advisory
- RHSA-2026:59593 patch vendor-advisory
- RHSA-2026:59558 patch vendor-advisory
- RHSA-2026:59559 patch vendor-advisory
- RHSA-2026:60387 patch vendor-advisory
- RHSA-2026:60390 patch vendor-advisory
- RHSA-2026:60388 patch vendor-advisory
- RHSA-2026:60386 patch vendor-advisory
- RHSA-2026:65118 patch vendor-advisory
- RHSA-2026:65155 patch vendor-advisory
- RHSA-2026:79088 patch vendor-advisory
- RHSA-2026:69248 patch vendor-advisory
- RHSA-2026:61783 patch vendor-advisory
- RHSA-2026:48241 patch vendor-advisory
- RHSA-2026:48320 patch vendor-advisory
- RHSA-2026:59030 patch vendor-advisory
- RHSA-2026:87410 patch vendor-advisory
- RHSA-2026:92650 patch vendor-advisory
- RHSA-2026:62260 patch vendor-advisory
- RHSA-2026:66084 patch vendor-advisory
- RHSA-2026:66523 patch vendor-advisory
- RHSA-2026:70267 patch vendor-advisory
- RHSA-2026:63307 patch vendor-advisory
- RHSA-2026:69255 patch vendor-advisory
- RHSA-2026:74511 patch vendor-advisory
- RHSA-2026:81110 patch vendor-advisory
- RHSA-2026:65514 patch vendor-advisory
- RHSA-2026:83598 patch vendor-advisory
- Red Hat Bugzilla 2508411 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com
- Debian Security Tracker CVE-2026-67214 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- github.com product
- ENISA EUVD EUVD-2026-50326 third-party-advisory