Integer Overflow or Wraparound Affecting bellard/quickjs package, versions [,2025.09.13)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

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-UNMANAGED-BELLARDQUICKJS-13610800
  • published17 Oct 2025
  • disclosed16 Oct 2025
  • creditUnknown

Introduced: 16 Oct 2025

NewCVE-2025-62496  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade bellard/quickjs to version 2025.09.13 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the js_bigint_from_string() function when parsing strings with an excessively large number of digits. An attacker can cause a heap out-of-bounds write by supplying a crafted string input that triggers an integer overflow during memory allocation calculations.

CVSS Base Scores

version 4.0
version 3.1