提交 #833814: Duktape https://github.com/svaarala/duktape <=2.99.99 Memory Corruption信息

标题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分 (4 月前)
管理2026-06-14 15時43分 (25 days later)
状态已接受
VulDB条目370859 [svaarala duktape 直到 2.99.99 duk_api_bytecode.c count_instr 内存损坏]
积分20

Do you know our Splunk app?

Download it now for free!