{"answers":{"affected":"2 open source packages ship an affected version, including node-forge. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33891 exists.","fix":"Upgrade node-forge to 1.4.0 or later.","what":"CVE-2026-33891 is a high-severity denial of service vulnerability in digitalbazaar forge, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33891 and fix it if it is affected.\n\nWhat it is: CVE-2026-33891 is a high-severity denial of service vulnerability in digitalbazaar forge, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33891 exists.\n\nAffected packages and fixed versions:\n- node-forge (npm): affected all versions; fixed in 1.4.0\n- node-forge (npm): affected all versions; fixed in 1.4.0\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-2026-33891/ (Markdown: https://insights.sbomify.com/CVE-2026-33891/index.md)","id":"CVE-2026-33891","markdown":"https://insights.sbomify.com/CVE-2026-33891/index.md","name":"CVE-2026-33891","record":{"aliases":["CLEANSTART-2026-AG97190","CLEANSTART-2026-TT50115","CLEANSTART-2026-ZJ53876","CLSA-2026-1790542136","GHSA-5m6q-g25r-mvwx","MINI-2h52-wpw5-crhv","MINI-3c5g-4g65-xw8q","MINI-3w9x-pwjj-9jv5","MINI-8h2r-jxmv-8h48","MINI-8m8p-xfxr-55g6","MINI-8vv8-h6w8-xx9v","MINI-9q6x-78g6-9x43","MINI-c7pm-3cxp-63gj","MINI-fw4h-367h-vv8j","MINI-gx39-xf3h-366x","MINI-hxq7-2mf6-6vm6","MINI-mx3c-mf56-3235","MINI-p65p-7j3p-vr23","MINI-qgvf-v8rx-gvg2","MINI-qvvh-xhm5-fmp3","MINI-rcxx-85p5-w33x","MINI-v7pr-p26w-vc4w","MINI-v9fm-5fwj-jqxc","MINI-w23q-9x6j-fqvw","ROOT-APP-NPM-CVE-2026-33891","UBUNTU-CVE-2026-33891"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript TLS library","requires_auth":"none","summary":"An attacker can cause a denial of service by triggering an infinite loop in the BigInteger.modInverse function with zero input, hanging the application.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"forge","vendor":"digitalbazaar"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-606","name":"Unchecked Input for Loop Condition"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, a Denial of Service (DoS) vulnerability exists in the node-forge library due to an infinite loop in the BigInteger.modInverse() function (inherited from the bundled jsbn library). When modInverse() is called with a zero value as input, the internal Extended Euclidean Algorithm enters an unreachable exit condition, causing the process to hang indefinitely and consume 100% CPU. Version 1.4.0 patches the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input","id":"CVE-2026-33891","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Auth bypass in Industrial Edge Management Pro V1","id":"CVE-2026-33892"},"packages":[{"ecosystem":"npm","fixed":["1.4.0"],"introduced":["0"],"last_affected":[],"package":"node-forge","purl":null,"source":"GHSA-5m6q-g25r-mvwx"},{"ecosystem":"npm","fixed":["1.4.0"],"introduced":["0"],"last_affected":[],"package":"node-forge","purl":"pkg:npm/node-forge","source":"GHSA-5m6q-g25r-mvwx"}],"prev":{"headline":"MyTube has an Unauthenticated Admin Privilege Escalation via Passkey Registration","id":"CVE-2026-33890"},"products":["forge"],"published":"2026-03-27","related":[{"cvss_score":9.8,"headline":"Prototype Pollution","id":"CVE-2020-7720","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":8.7,"headline":"node-forge ASN.1 Unbounded Recursion","id":"CVE-2025-66031","kev_date_added":null,"published":"2025-11-26"},{"cvss_score":8.6,"headline":"CVE-2025-12816","id":"CVE-2025-12816","kev_date_added":null,"published":"2025-11-25"},{"cvss_score":7.5,"headline":"Forge has signature forgery in RSA-PKCS due to ASN.1 extra field","id":"CVE-2026-33894","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":7.5,"headline":"Forge has signature forgery in Ed25519 due to missing S \u003e L check","id":"CVE-2026-33895","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":7.5,"headline":"Improper Verification of Cryptographic Signature in node-forge","id":"CVE-2022-24771","kev_date_added":null,"published":"2022-03-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-04","vendors":["digitalbazaar"]},"summary":"An attacker can cause a denial of service by triggering an infinite loop in the BigInteger.modInverse function with zero input, hanging the application.","url":"https://insights.sbomify.com/CVE-2026-33891/"}