Vulnerability
CVE-2026-33891
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.
122 advisories report this vulnerability, across 5 ecosystems.
Advisories in Wolfi
- CGA-2jfv-phwp-2vxw
- CGA-2rwm-32cv-x2x7
- CGA-32xp-wqfc-g9jr
- CGA-44pj-7p4p-8398
- CGA-5h92-ph82-fvm7
- CGA-5jf7-3pjw-j3wh
- CGA-5wqc-vvmm-9g42
- CGA-7cv5-xcr7-56r3
- CGA-9j78-5h4q-225r
- CGA-c656-fv8g-fvj8
- CGA-c6q4-9pxp-wcq9
- CGA-cj8m-c3hg-xp49
- CGA-f22j-4m6h-6j65
- CGA-hcr9-hgv2-p45g
- CGA-hw7g-wmmj-hcwg
- CGA-m74c-77cm-vrg4
- CGA-p9gm-c5x7-cr8c
- CGA-pvxp-gxwj-73jx
- CGA-q8qf-2vmc-p978
- CGA-q98h-v7r7-53g3
- CGA-qj49-c2x4-4g76
- CGA-rvp6-wrvp-57pf
- CGA-vp53-3637-mp86
- CGA-w5cj-38fx-62xp
- CGA-wvmq-58gm-hp8w
References
- https://github.com/digitalbazaar/forge/commit/9bb8d67b99d17e4ebb5fd7596cd699e11f25d023
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5m6q-g25r-mvwx
- https://access.redhat.com/errata/RHSA-2026:13826
- https://access.redhat.com/errata/RHSA-2026:24761
- https://access.redhat.com/errata/RHSA-2026:24762
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:9742
- https://access.redhat.com/security/cve/CVE-2026-33891
- https://bugzilla.redhat.com/show_bug.cgi?id=2452450
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33891.json