{"id":"CVE-2026-120439","aliases":["CVE-2026-120439"],"related":[],"kind":"vulnerability","state":"published","title":"QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-02T14:29:01.345Z","modified":"2026-11-06T20:17:17.073Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.16.0","status":"affected"}],"vendor":"quickjs-ng","product":"QuickJS-NG","repo":"https://github.com/quickjs-ng/quickjs","source":"cvelist"}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/quickjs-ng/quickjs/commit/e93cca611908e12b824ec85fbee6b31a5ee61568","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L60032","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-typedarray-prototype-sort","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Tristan Madani (Talence Security)","Saúl Ibarra Corretgé"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-06T19:30:12.358Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120439","url":"https://www.cve.org/CVERecord?id=CVE-2026-120439","licence":"CVE Terms of Use","modified":"2026-11-06T19:30:29.306Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120439","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120439","licence":"Public domain","modified":"2026-11-06T20:17:17.073Z"}],"updatedAt":"2026-11-25T22:59:48.183Z","epss":{"score":0.00481,"percentile":0.43148,"date":"2026-12-01T12:00:22.000Z"}}