{"id":"UBUNTU-CVE-2026-33891","details":"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.","modified":"2026-04-02T17:31:27Z","published":"2026-03-27T21:17:00Z","upstream":["CVE-2026-33891"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33891"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-33891"},{"type":"REPORT","url":"https://github.com/digitalbazaar/forge/commit/9bb8d67b99d17e4ebb5fd7596cd699e11f25d023"},{"type":"REPORT","url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-5m6q-g25r-mvwx"}],"affected":[{"package":{"name":"node-node-forge","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-node-forge@0.9.1~dfsg-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.5~dfsg-2","0.9.1~dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.1~dfsg-1","binary_name":"libjs-node-forge"},{"binary_version":"0.9.1~dfsg-1","binary_name":"node-node-forge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33891.json"}},{"package":{"name":"node-node-forge","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-node-forge@1.2.1~dfsg-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0~dfsg-3","1.2.1~dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.1~dfsg-2","binary_name":"libjs-node-forge"},{"binary_version":"1.2.1~dfsg-2","binary_name":"node-node-forge"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33891.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}