Incorrect Type Conversion or Cast Affecting viperjs package, versions <0.2.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-VIPERJS-19424709
  • published29 Aug 2026
  • disclosed6 Aug 2026
  • creditUnknown

Introduced: 6 Aug 2026

New CVE NOT AVAILABLE CWE-704  (opens in a new tab)

How to fix?

Upgrade viperjs to version 0.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast via the BigInt division process. An attacker can cause the host application to panic or receive incorrect results by providing a divisor whose magnitude matches the engine's internal limb ceiling, leading to an out-of-bounds index and silent calculation errors.

References

CVSS Base Scores

version 4.0
version 3.1