CVE-2026-120439 QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-120439?
CVE-2026-120439 is a high-severity vulnerability in QuickJS-NG, published on 2 Nov 2026.
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.
Weakness: CWE-190
Which versions are affected by CVE-2026-120439?
How do I fix CVE-2026-120439?
Upgrade to a fixed version.
Is CVE-2026-120439 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-120439 exists.
Sources
Also known as DEBIAN-CVE-2026-120439, GHSA-9wv5-5cgr-grj6, GHSA-xffc-9827-rpvc, UBUNTU-CVE-2026-120439.