UBUNTU-CVE-2026-120439: Buffer Overflow

Published Nov 3, 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 3, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are practically exposed?

The issue affects QuickJS-NG versions before 0.16.0 on 32-bit hosts. Exploitation requires a typed array near 2^30 elements, so systems able to allocate and process arrays of that size are the relevant exposure.

2

What access does an attacker need?

An attacker must be able to run JavaScript in the affected QuickJS-NG environment. No privileges or user interaction are required according to the supplied severity vector.

3

Is code execution guaranteed?

No. The overflow can crash the process and may potentially permit code execution; the provided data does not establish that code execution is reliable or guaranteed.

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