{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"quickjs-ng/quickjs","product":"QuickJS-NG","source":"CNA: VulnCheck","vendor":"quickjs-ng","versions":[{"lessThan":"0.16.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-120439","cwes":["CWE-190"],"description":"QuickJS-NG before 0.16.0 contains an integer overflow in js_typed_array_sort() in quickjs.c that allows attackers to cause a heap buffer overflow on 32-bit hosts. Attackers who can run JavaScript can call TypedArray.prototype.sort with a comparator on a typed array near 2^30 elements, wrapping the allocation size and writing indices past the buffer to crash or potentially execute code.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.3,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":7,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"}],"modifiedAt":1793629741345,"publishedAt":1793629741345,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/quickjs-ng/quickjs/commit/e93cca611908e12b824ec85fbee6b31a5ee61568"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L60032"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-typedarray-prototype-sort"}],"remediation":[],"revision":"842068cd2669eca63c0f74b041b56fadccca3d62c059b23db5a60cf40c39e40e","sources":[{"modifiedAt":1793629741345,"name":"CNA: VulnCheck","retrievedAt":1793632125737,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120439"}],"ssvc":null,"status":"published","title":"QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort","updatedAt":1793632125737}