Skip to content
High 8.3

QuickJS-NGに脆弱性、JavaScriptからヒープバッファオーバーフローを起こされるおそれ

CVE-2026-120439 First seen on SecPulse

Summary

QuickJS-NGの0.16.0より前のバージョンには、TypedArray.prototype.sortの処理で整数オーバーフローが起きる脆弱性があります。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より前のバージョンには、TypedArray.prototype.sortの処理で整数オーバーフローが起きる脆弱性があります。32ビット環境で、JavaScriptを実行できる攻撃者がヒープバッファオーバーフローを起こし、クラッシュやコード実行につながるおそれがあります。修正版の0.16.0に更新してください。

Affected packages

PackageAffected → Fixed
quickjs-ngQuickJS-NG
< 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.

Original description The description as published by the source.

QuickJS-NG before 0.16.0 contains an integer overflow in js_typed_array_sort() in quickjs.c that allows attackers to cause a heap buffer overflow on 32-bit hosts. Attackers who can run JavaScript can call TypedArray.prototype.sort with a comparator on a typed array near 2^30 elements, wrapping the allocation size and writing indices past the buffer to crash or potentially execute code.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details