| タイトル | Duktape https://github.com/svaarala/duktape <=2.99.99 Memory Corruption |
|---|
| 説明 | Duktape's bytecode loader (`duk_api_bytecode.c`) uses the `DUK_ASSERT` macro for bounds checking. In Release builds, `DUK_ASSERT` is defined as a no-op, so the bounds check is completely removed. By crafting bytecode with an inflated `count_instr` field and a truncated buffer ending at the instruction data boundary, the loader reads 4 bytes past the heap allocation, which are then interpreted as bytecode instructions. |
|---|
| ソース | ⚠️ https://github.com/hmKunlun/compileOOB/blob/main/api_bytecode.md |
|---|
| ユーザー | kunlun (UID 95866) |
|---|
| 送信 | 2026年05月20日 06:20 (3 月 ago) |
|---|
| モデレーション | 2026年06月14日 15:43 (25 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 370859 [svaarala duktape 迄 2.99.99 duk_api_bytecode.c count_instr メモリ破損] |
|---|
| ポイント | 20 |
|---|