QuickJS-NG before 0.16.0 contains an integer overflow in js_typed_array_sort() in quickjs.c that allows attackers to
Affects quickjs-ngSource GCVE Database
Not known to be exploited · CVSS 8.3 High.
Data as of 5 Nov 2026, 12:36 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.0 |
| CNA | CVSS 4.0 | 8.3 |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10quickjs-ngpkg:deb/ubuntu/quickjs-ng?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since the vulnerability affects versions before 0.16.0, upgrading to version 0.16.0 or later is implied as a remediation step. Users should apply the official fix once available or upgrade to a fixed version to mitigate this issue.
Description
QuickJS-NG versions before 0.16.0 have an integer overflow vulnerability in the js_typed_array_sort() function. This flaw allows attackers who can execute JavaScript to trigger a heap buffer overflow on 32-bit systems by calling TypedArray.prototype.sort with a comparator on very large typed arrays near 2^30 elements. The overflow can cause crashes or potentially enable code execution.
References
- ubuntu.com/security/CVE-2026-120439 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-120439 (opens in a new tab)
- github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c (opens in a new tab)
- github.com/quickjs-ng/quickjs/commit/e93cca611908e12b824ec85fbee6b31a5ee61568 (opens in a new tab)
- github.com/quickjs-ng/quickjs/releases/tag/v0.16.0 (opens in a new tab)
- github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6 (opens in a new tab)
- vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-typedarray-prototype-sort (opens in a new tab)