QuickJS-NGに32ビット環境でヒープバッファオーバーフローの脆弱性、コード実行のおそれ
Summary
QuickJS-NGの0.16.0より前のバージョンには、Proxyのownkeys処理で整数オーバーフローが起きる脆弱性があります。32ビット環境では、JavaScriptからヒープバッファオーバーフローを引き起こされ、クラッシュや任意のコード実行につながるおそれがあります。修正版の0.16.0に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
QuickJS-NGの0.16.0より前のバージョンには、Proxyのownkeys処理で整数オーバーフローが起きる脆弱性があります。32ビット環境では、JavaScriptからヒープバッファオーバーフローを引き起こされ、クラッシュや任意のコード実行につながるおそれがあります。修正版の0.16.0に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| quickjs-ngQuickJS-NG |
< 0.16.0→ 0.16.0 |
0.16.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120438 quickjs-ng Fix available
- Ubuntu UBUNTU-CVE-2026-120438 quickjs-ng No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com