QuickJS-NG: Heap buffer overflow in js_proxy_get_own_property_names (CVE-2026-120438)
QuickJS-NG before 0.16.0 contains an integer overflow in the js_proxy_get_own_property_names function that can lead to heap buffer overflows and potential code execution on 32-bit hosts via malicious Proxy ownKeys traps.
CVE search metadata
CVE search record: CVE-2026-120438. Severity: high. CVSS: 7.8. KEV: no. Product: QuickJS-NG (< 0.16.0). Brief: QuickJS-NG: Heap buffer overflow in js_proxy_get_own_property_names (CVE-2026-120438). Brief link: https://feed.craftedsignal.io/briefs/2026-11-quickjs-ng-overflow/
CVE search record: CVE-2026-120439. Severity: high. CVSS: 7.0. KEV: no. Product: QuickJS-NG (< 0.16.0). Brief: QuickJS-NG: Heap buffer overflow in js_proxy_get_own_property_names (CVE-2026-120438). Brief link: https://feed.craftedsignal.io/briefs/2026-11-quickjs-ng-overflow/
Triage facts
Revision 1- Applicability
- QuickJS-NG (< 0.16.0)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 2, 15:50 UTC
- Vulnerabilities
- 2 CVEs
- Source quality
- A1Roughly even chance
What's new
- 1. added coverage for QuickJS-NG (< 0.16.0) Nov 2, 15:50 via nvd
QuickJS-NG versions prior to 0.16.0 contain an integer overflow vulnerability in the js_proxy_get_own_property_names() function within quickjs.c. The vulnerability is triggered when a JavaScript Proxy object defines an ownKeys trap that returns a large array-like object. On 32-bit architectures, this leads to an integer overflow during memory allocation calculations, resulting in a heap buffer overflow. This can be leveraged to cause application crashes or arbitrary code execution.
Impact
Successful exploitation may allow for denial of service (application crashes) or arbitrary code execution in the context of the QuickJS-NG engine. The vulnerability is specifically constrained to 32-bit host environments.
Recommendation
- Update QuickJS-NG to version 0.16.0 or later to include the fix for CVE-2026-120438.
- Inventory environments utilizing QuickJS-NG, prioritizing 32-bit architecture deployments for immediate patching.
Immediate actions
Inventory all applications using QuickJS-NG and upgrade to 0.16.0
Threat Hunt
Monitor for application crashes occurring within environments that process untrusted JavaScript or use embedded script engines
Data: Application crash logs, Error reporting logs
Mitigations
Upgrade QuickJS-NG to version 0.16.0 or later
CVE-2026-120438
Upgrade QuickJS-NG to 0.16.0 or later
CVE-2026-120439