CVE-2026-120438

QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration

High published · updated

8.5
CVSS score out of 10 · NVD (vulncheck.com)

Description

QuickJS-NG before 0.16.0 contains an integer overflow in js_proxy_get_own_property_names() in quickjs.c that causes a heap buffer overflow on 32-bit hosts. Attackers running JavaScript can return a large array-like object from a Proxy ownKeys trap to wrap the allocation size, causing crashes or potential code execution.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
quickjs-ng quickjs-ng 0 → <0.16.00.16.0 CVE.org

References