CVE-2026-120439: QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort

Published Nov 2, 2026
·
Updated

QuickJS-NG before 0.16.0 contains an integer overflow in jstypedarraysort() 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 Software

1 affected component
ubuntu/quickjs-ng*

Event History

Nov 2, 2026
CVE Published
via OSV·02:29 PM
Data Sourced
via OSV·02:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness
Nov 3, 2026
Data Sourced
via OSV·12:00 AM
Affected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203