QuickJS-NG heap overflow in Proxy ownKeys on 32-bit hosts
QuickJS-NG
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| quickjs-ng QuickJS-NG |
| No fix yet |
Original 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.
From the CVE record · VulnCheck