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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.34% (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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-QUICKJSNGQUICKJS-15035876
  • published19 Jan 2026
  • disclosed19 Jan 2026
  • creditMcsky23

Introduced: 19 Jan 2026

CVE-2026-1145  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the js_typed_array_constructor_ta function. An attacker can cause a crash or unintended behavior by supplying crafted input that triggers a heap-based buffer overflow during the construction of typed arrays.

CVSS Base Scores

version 4.0
version 3.1