{"answers":{"affected":"2 open source packages ship an affected version, including node and node-min.","exploited":"There is no known exploitation of CVE-2025-23166 in the wild and no public exploit code.","fix":"Upgrade node to a fixed version for your release line: 20.19.2, 22.15.1 or 24.0.2.","what":"CVE-2025-23166 is a high-severity denial of service vulnerability in nodejs node, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-23166 and fix it if it is affected.\n\nWhat it is: CVE-2025-23166 is a high-severity denial of service vulnerability in nodejs node, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-23166 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- node (Bitnami): affected all versions; fixed in 20.19.2, 22.15.1, 24.0.2\n- node-min (Bitnami): affected all versions; fixed in 20.19.2, 22.15.1, 24.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-23166/ (Markdown: https://insights.sbomify.com/CVE-2025-23166/index.md)","id":"CVE-2025-23166","markdown":"https://insights.sbomify.com/CVE-2025-23166/index.md","name":"CVE-2025-23166","record":{"aliases":["ALPINE-CVE-2025-23166","ALSA-2025:8467","ALSA-2025:8468","ALSA-2025:8493","ALSA-2025:8506","ALSA-2025:8514","AZL-61919","AZL-65066","BELL-CVE-2025-23166","BIT-node-2025-23166","BIT-node-min-2025-23166","CLSA-2025-1753208069","CLSA-2026-1770140451","DEBIAN-CVE-2025-23166","GHSA-rrjv-57mm-j6cm","MINI-2prp-x8rh-8mp7","MINI-3vg7-jpx8-vxc8","MINI-9mpm-m2v9-52c3","MINI-v75q-79p7-9qw6","MINI-v8rv-8mgh-626r","RHSA-2025:8902","UBUNTU-CVE-2025-23166"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js runtime","requires_auth":"none","summary":"An attacker can remotely crash the Node.js runtime by supplying crafted inputs to cryptographic operations, causing a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"description":"The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread, crashing the Node.js process. Such cryptographic operations are commonly applied to untrusted inputs. Thus, this mechanism potentially allows an adversary to remotely crash a Node.js runtime.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:rhel_eus:9.4::appstream"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of service in node","id":"CVE-2025-23166","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":49,"n_references":1,"next":{"headline":"Other in node","id":"CVE-2025-23167"},"packages":[{"ecosystem":"Bitnami","fixed":["20.19.2","22.15.1","24.0.2"],"introduced":["0","21.0.0","23.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2025-23166"},{"ecosystem":"Bitnami","fixed":["20.19.2","22.15.1","24.0.2"],"introduced":["0","21.0.0","23.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2025-23166"},{"ecosystem":"AlmaLinux:10","fixed":["1:22.16.0-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"nodejs-docs","purl":"pkg:rpm/almalinux/nodejs-docs","source":"ALSA-2025:8493"},{"ecosystem":"AlmaLinux:8","fixed":["1:20.19.2-1.module_el8.10.0+4007+01f7d99b"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/almalinux/nodejs","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["1:22.16.0-1.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/almalinux/nodejs","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["1:20.19.2-1.module_el8.10.0+4007+01f7d99b"],"introduced":["0"],"last_affected":[],"package":"nodejs-devel","purl":"pkg:rpm/almalinux/nodejs-devel","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["1:22.16.0-1.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"nodejs-devel","purl":"pkg:rpm/almalinux/nodejs-devel","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["1:20.19.2-1.module_el8.10.0+4007+01f7d99b"],"introduced":["0"],"last_affected":[],"package":"nodejs-docs","purl":"pkg:rpm/almalinux/nodejs-docs","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["1:22.16.0-1.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"nodejs-docs","purl":"pkg:rpm/almalinux/nodejs-docs","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["1:20.19.2-1.module_el8.10.0+4007+01f7d99b"],"introduced":["0"],"last_affected":[],"package":"nodejs-full-i18n","purl":"pkg:rpm/almalinux/nodejs-full-i18n","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["1:22.16.0-1.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"nodejs-full-i18n","purl":"pkg:rpm/almalinux/nodejs-full-i18n","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["1:22.16.0-1.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"nodejs-libs","purl":"pkg:rpm/almalinux/nodejs-libs","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-1.module_el8.10.0+3982+85c136aa"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/almalinux/nodejs-nodemon","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.1-1.module_el8.10.0+3983+391a1a04"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/almalinux/nodejs-nodemon","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["2021.06-4.module_el8.10.0+3987+dbda4426"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/almalinux/nodejs-packaging","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["2021.06-4.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/almalinux/nodejs-packaging","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["2021.06-4.module_el8.10.0+3958+472a6467"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging-bundler","purl":"pkg:rpm/almalinux/nodejs-packaging-bundler","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["2021.06-4.module_el8.10.0+3961+6a788e57"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging-bundler","purl":"pkg:rpm/almalinux/nodejs-packaging-bundler","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["1:10.8.2-1.20.19.2.1.module_el8.10.0+4007+01f7d99b"],"introduced":["0"],"last_affected":[],"package":"npm","purl":"pkg:rpm/almalinux/npm","source":"ALSA-2025:8514"},{"ecosystem":"AlmaLinux:8","fixed":["1:10.9.2-1.22.16.0.1.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"npm","purl":"pkg:rpm/almalinux/npm","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:8","fixed":["3:12.4.254.21-1.22.16.0.1.module_el8.10.0+4006+3c416519"],"introduced":["0"],"last_affected":[],"package":"v8-12.4-devel","purl":"pkg:rpm/almalinux/v8-12.4-devel","source":"ALSA-2025:8506"},{"ecosystem":"AlmaLinux:9","fixed":["1:20.19.2-1.module_el9.6.0+169+c9cb05c2"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/almalinux/nodejs","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["1:22.16.0-1.module_el9.6.0+170+f035de78"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/almalinux/nodejs","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["1:20.19.2-1.module_el9.6.0+169+c9cb05c2"],"introduced":["0"],"last_affected":[],"package":"nodejs-devel","purl":"pkg:rpm/almalinux/nodejs-devel","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["1:22.16.0-1.module_el9.6.0+170+f035de78"],"introduced":["0"],"last_affected":[],"package":"nodejs-devel","purl":"pkg:rpm/almalinux/nodejs-devel","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["1:20.19.2-1.module_el9.6.0+169+c9cb05c2"],"introduced":["0"],"last_affected":[],"package":"nodejs-docs","purl":"pkg:rpm/almalinux/nodejs-docs","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["1:22.16.0-1.module_el9.6.0+170+f035de78"],"introduced":["0"],"last_affected":[],"package":"nodejs-docs","purl":"pkg:rpm/almalinux/nodejs-docs","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["1:20.19.2-1.module_el9.6.0+169+c9cb05c2"],"introduced":["0"],"last_affected":[],"package":"nodejs-full-i18n","purl":"pkg:rpm/almalinux/nodejs-full-i18n","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["1:22.16.0-1.module_el9.6.0+170+f035de78"],"introduced":["0"],"last_affected":[],"package":"nodejs-full-i18n","purl":"pkg:rpm/almalinux/nodejs-full-i18n","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["1:22.16.0-1.module_el9.6.0+170+f035de78"],"introduced":["0"],"last_affected":[],"package":"nodejs-libs","purl":"pkg:rpm/almalinux/nodejs-libs","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["3.0.1-1.module_el9.5.0+125+8dc38870"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/almalinux/nodejs-nodemon","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["3.0.1-1.module_el9.5.0+139+09296491"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/almalinux/nodejs-nodemon","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["2021.06-4.module_el9.5.0+139+09296491"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/almalinux/nodejs-packaging","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["2021.06-4.module_el9.6.0+162+8dc602e5"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/almalinux/nodejs-packaging","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["2021.06-4.module_el9.5.0+139+09296491"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging-bundler","purl":"pkg:rpm/almalinux/nodejs-packaging-bundler","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["2021.06-4.module_el9.6.0+162+8dc602e5"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging-bundler","purl":"pkg:rpm/almalinux/nodejs-packaging-bundler","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["1:10.8.2-1.20.19.2.1.module_el9.6.0+169+c9cb05c2"],"introduced":["0"],"last_affected":[],"package":"npm","purl":"pkg:rpm/almalinux/npm","source":"ALSA-2025:8468"},{"ecosystem":"AlmaLinux:9","fixed":["1:10.9.2-1.22.16.0.1.module_el9.6.0+170+f035de78"],"introduced":["0"],"last_affected":[],"package":"npm","purl":"pkg:rpm/almalinux/npm","source":"ALSA-2025:8467"},{"ecosystem":"AlmaLinux:9","fixed":["3:12.4.254.21-1.22.16.0.1.module_el9.6.0+170+f035de78"],"introduced":["0"],"last_affected":[],"package":"v8-12.4-devel","purl":"pkg:rpm/almalinux/v8-12.4-devel","source":"ALSA-2025:8467"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["1:20.19.2-2.module+el9.4.0+23180+d266bac7"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/redhat/nodejs","source":"RHSA-2025:8902"}],"prev":{"headline":"Denial of service in node","id":"CVE-2025-23165"},"products":["node"],"published":"2025-05-19","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-28","vendors":["nodejs"]},"summary":"An attacker can remotely crash the Node.js runtime by supplying crafted inputs to cryptographic operations, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2025-23166/"}