Vulnerability details
CVE-2026-120439
quickjs-ng QuickJS-NG
QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort
CVSS 4.0
8.3High
Official description
QuickJS-NG before 0.16.0 contains an integer overflow in js_typed_array_sort() in quickjs.c that allows attackers to cause a heap buffer overflow on 32-bit hosts. Attackers who can run JavaScript can call TypedArray.prototype.sort with a comparator on a typed array near 2^30 elements, wrapping the allocation size and writing indices past the buffer to crash or potentially execute code.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.3High | 4.0 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N |
| 7.0High | 3.1 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| quickjs-ng | QuickJS-NG | v < 0.16.0 | CVEProject cvelistV5 (CNA) |
References and advisories
5- https://github.com/quickjs-ng/quickjs/commit/e93cca611908e12b824ec85fbee6b31a5ee61568 patch
- https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0 release-notes
- https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L60032 technical-description
- https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-typedarray-prototype-sort third-party-advisory
- https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6 vendor-advisory
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-11-02
- Last updated
- 2026-11-06
- State
- Published
- Assigner (CNA)
- VulnCheck
Exploit prediction (EPSS)
0.34%
Probability of exploitation in 30 days
28%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-190Integer Overflow or Wraparound