{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120439","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-02T12:42:15.449Z","datePublished":"2026-11-02T14:29:01.345Z","dateUpdated":"2026-11-02T14:29:01.345Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-02T14:29:01.345Z"},"datePublic":"2026-07-31T00:00:00.000Z","title":"QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Integer Overflow or Wraparound","cweId":"CWE-190","type":"CWE"}]}],"affected":[{"vendor":"quickjs-ng","product":"QuickJS-NG","packageURL":"pkg:github/quickjs-ng/quickjs","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"0.16.0","status":"affected","versionType":"semver"}],"repo":"https://github.com/quickjs-ng/quickjs"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:quickjs_project:quickjs:*:*:*:*:*:*:*:*","versionEndExcluding":"0.16.0"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.3,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-9wv5-5cgr-grj6","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-9wv5-5cgr-grj6)"},{"url":"https://github.com/quickjs-ng/quickjs/commit/e93cca611908e12b824ec85fbee6b31a5ee61568","tags":["patch"]},{"url":"https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0","tags":["release-notes"],"name":"QuickJS-NG v0.16.0 Release Notes"},{"url":"https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L60032","tags":["technical-description"]},{"name":"VulnCheck Advisory: QuickJS-NG before 0.16.0 Heap Buffer Overflow via TypedArray.prototype.sort","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-typedarray-prototype-sort"}],"credits":[{"lang":"en","value":"Tristan Madani (Talence Security)","type":"finder"},{"lang":"en","value":"Saúl Ibarra Corretgé","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}