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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120438.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.16.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "252209d99cf112568160548bdcaa98d95e0d0068"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.16.0",
"range": [
{
"fixed": "10b99693cdc3f37cdf05114bc2d5225de495c4a3"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120438.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"310314655540889292448647267715212364636",
"275489282078593461190295661621355400397",
"214310465646605225323363683188089151952",
"273770732402950176220990116378452430048",
"205782312792768950673151160061180743011",
"100262500283918254405292852328458472676",
"165738774529352401281444907976264023869",
"145367148852932622585746195441880513547",
"185925958792142345046252479990278383039",
"62816402412875138276996268477864266935",
"179728518264294646075852429066281868271",
"142584215552348337348595850846250086185",
"109700206743236296963317402695213811211",
"129733122088618270431700675801152687137",
"7131181002548909288576034811374801622",
"192645452406215697515558751417794092866",
"285431989642744214549689617650172107594",
"308562807449551079275848158687328404917",
"310708090890531656364247281611739674964",
"249394062503063327512715636504143156344",
"270809632814864238238336917061806065776",
"252260110405952026232124317405099231946",
"218286570777892933818596957904147538743"
],
"threshold": 0.9
},
"id": "CVE-2026-120438-287167e5",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068",
"target": {
"file": "quickjs.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "81088429995738227171737017391260945371",
"length": 444
},
"id": "CVE-2026-120438-570e17ee",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068",
"target": {
"file": "api-test.c",
"function": "main"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "116979088612776155525701790588010795483",
"length": 2560
},
"id": "CVE-2026-120438-ccc54876",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068",
"target": {
"file": "quickjs.c",
"function": "js_proxy_get_own_property_names"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"80901445091013349397188786373365978504",
"221786335818734813019632569603510051596",
"115194978404317442871513515670643763813",
"116494912691753498115016932510960205403",
"115024476298973241195799793585341545346",
"234203607202623791790782449921401167642",
"245100613805464108725769771642088971943"
],
"threshold": 0.9
},
"id": "CVE-2026-120438-d49e5c40",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068",
"target": {
"file": "api-test.c"
}
}
]
"2026-11-11T13:21:00Z"