QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 2, 2026
- Updated
- Nov 5, 2026
- Reserved
- Nov 2, 2026
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.
| Product | Versions |
|---|---|
| QuickJS-NG quickjs-ng | before 0.16.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
References
- GitHub Security Advisory (GHSA-jp52-chwg-2p9p)Vendor Advisory
- https://github.com/quickjs-ng/quickjs/commit/252209d99cf112568160548bdcaa98d95e0d0068Patch
- QuickJS-NG v0.16.0 Release NotesRelease Notes
- https://github.com/quickjs-ng/quickjs/blob/v0.15.1/quickjs.c#L51509Technical Details
- VulnCheck Advisory: QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys EnumerationThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.