CVE-2026-120438
QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration
8.5
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 / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| quickjs-ng | quickjs-ng | 0 → <0.16.0 | 0.16.0 | CVE.org |