CVE-2026-120439
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.
How to fix
- quickjs-ng QuickJS-NG0.16.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| quickjs-ng QuickJS-NG | v < 0.16.0 | 0.16.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.