CVE-2026-120439

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.
Configurations

No configuration.

History

06 Nov 2026, 20:17

Type Values Removed Values Added
References () https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6 - () https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6 -

02 Nov 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-02 15:17

Updated : 2026-11-06 20:17


NVD link : CVE-2026-120439

Mitre link : CVE-2026-120439

CVE.ORG link : CVE-2026-120439


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound