{"id":"CVE-2026-120438","state":"PUBLISHED","title":"QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration","description":"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.","publishedAt":"2026-11-02T14:29:00.633Z","updatedAt":"2026-11-05T21:38:15.836Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["quickjs-ng QuickJS-NG"],"affected":[{"vendor":"quickjs-ng","product":"QuickJS-NG","packageURL":"pkg:github/quickjs-ng/quickjs","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.16.0","versionType":"semver"}],"repo":"https://github.com/quickjs-ng/quickjs"}],"references":["https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-jp52-chwg-2p9p","https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068","https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0","https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L51509","https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-proxy-ownkeys-enumeration"],"weaknesses":["CWE-190"],"ingestedAt":"2026-11-05T21:46:06.270Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120438.json","commit":"51c2423a5df5227cd82803ef0ba0d314d939c2f0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120438","state":"PUBLISHED","datePublished":"2026-11-02T14:29:00.633Z","dateUpdated":"2026-11-05T21:38:15.836Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-02T12:42:15.054Z"},"containers":{"cna":{"title":"QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"quickjs-ng","product":"QuickJS-NG","packageURL":"pkg:github/quickjs-ng/quickjs","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.16.0","versionType":"semver"}],"repo":"https://github.com/quickjs-ng/quickjs"}],"references":[{"url":"https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-jp52-chwg-2p9p","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-jp52-chwg-2p9p)"},{"url":"https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068","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#L51509","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-proxy-ownkeys-enumeration","name":"VulnCheck Advisory: QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-02T14:29:00.633Z"},"datePublic":"2026-07-31T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:quickjs_project:quickjs:*:*:*:*:*:*:*:*","versionEndExcluding":"0.16.0"}]}]}],"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"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-05T21:37:52.469353Z","id":"CVE-2026-120438","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-05T21:38:15.836Z"}}]}}}