CVE-2026-120439

published 2 Nov 2026 · updated 6 Nov 2026

QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.16.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
quickjs-ng<0.16.00.16.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120439 severity on Zeptric[![CVE-2026-120439](https://zeptric.io/badge/cve/CVE-2026-120439.svg)](https://zeptric.io/cve/CVE-2026-120439)