CVE-2026-120438
QuickJS-NG before 0.16.0 contains an integer overflow in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L51509
- github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068
- github.com/quickjs-ng/quickjs/releases/tag/v0.16.0
- github.com/quickjs-ng/quickjs/security/advisories/GHSA-jp52-chwg-2p9p
- www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-proxy-ownke
- nvd.nist.gov/vuln/detail/CVE-2026-120438
- cve.org/CVERecord?id=CVE-2026-120438
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.