A vulnerability was found in bn.js up to 5.2.2. It has been classified as problematic. The impacted element is the function toString/divmod. Performing a manipulation results in infinite loop.

This vulnerability is cataloged as CVE-2026-2739. It is possible to initiate the attack remotely. There is no exploit available.

Upgrading the affected component is recommended.