Heap-based Buffer Overflow Affecting quickjs-ng/quickjs package, versions [,0.10.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (3rd 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-QUICKJSNGQUICKJS-10062304
  • published7 May 2025
  • disclosed27 Apr 2025
  • creditUnknown

Introduced: 27 Apr 2025

NewCVE-2025-46688  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade quickjs-ng/quickjs to version 0.10.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to an incorrect size calculation in JS_ReadBigInt.

CVSS Base Scores

version 4.0
version 3.1