---
id: CVE-2026-120438
title: QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration
summary: >-
  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 ow…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-190
vendor: quickjs-ng
product: QuickJS-NG
affected:
  - QuickJS-NG < 0.16.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-05T21:37:52.469353Z'
published: '2026-11-02'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:38:15.836Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120438'
references:
  - url: >-
      https://github.com/quickjs-ng/quickjs/security/advisories/GHSA-jp52-chwg-2p9p
    label: GitHub Security Advisory (GHSA-jp52-chwg-2p9p)
  - url: >-
      https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068
  - url: 'https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.0'
    label: QuickJS-NG v0.16.0 Release Notes
  - url: 'https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L51509'
  - url: >-
      https://www.vulncheck.com/advisories/quickjs-ng-before-0.16.0-heap-buffer-overflow-via-proxy-ownkeys-enumeration
    label: >-
      VulnCheck Advisory: QuickJS-NG before 0.16.0 Heap Buffer Overflow via
      Proxy ownKeys Enumeration
tags:
  - cve.org
epss: 0.0014
epssPercentile: 0.03352
ingestedAt: '2026-11-05T19:30:42.656Z'
---

## Overview

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

- `QuickJS-NG < 0.16.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
