CVE Catalog

CVE-2026-120438

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

May lead to application crashes or potential arbitrary code execution on 32-bit hosts. Poses a threat in environments running untrusted JavaScript code.

Recommendation

Update QuickJS-NG to version 0.16.0 or later. If updating is not possible, restrict execution of untrusted JavaScript on 32-bit hosts.

Other vulnerabilities in QuickJS-NG

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS