Stack-based Buffer Overflow Affecting quickjs-ng/quickjs package, versions [,0.9.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (26th 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-9680141
  • published9 Apr 2025
  • disclosed21 Mar 2025
  • creditUnknown

Introduced: 21 Mar 2025

NewCVE-2024-13903  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in the JS_GetRuntime() function. An attacker can trigger a buffer overflow.

CVSS Base Scores

version 4.0
version 3.1