QuickJS-NG
QuickJS-NG before 0.16.0 Heap Buffer Overflow via Proxy ownKeys Enumeration
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-190
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
quickjs-ng QuickJS-NG
- < 0.16.0
Fixed in 0.16.0
Mitigation
Upgrade QuickJS-NG to 0.16.0 or later.
References
- Vendor advisory github.com/quickjs-ng/quickjs/security/advisor…
- Patch github.com/quickjs-ng/quickjs/commit/252209d99…
- Release notes github.com/quickjs-ng/quickjs/releases/tag/v0.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.