| 标题 | LLVM LLVM Project commit 3b3a3c2 Stack-based Buffer Overflow |
|---|
| 描述 | A stack buffer overflow vulnerability exists in LLVM’s ValueSymbolTable module when parsing malformed bitcode files. The actual bug resides in the optimized inline logic of llvm::StringMap::insert(). When processing maliciously crafted bitcode via the llvm-opt-fuzzer (x86_64-gvn pass), incorrect stack offset calculation for temporary stack values during symbol table insertion triggers an out-of-bounds stack write. The faulty assembly instruction mov qword ptr [rbx + 0x48], r12 causes stack corruption and program crash, even when core runtime objects are valid. The vulnerability can be triggered by a custom malicious bitcode PoC. Local attackers can exploit this flaw to crash the affected process, with potential memory corruption and arbitrary code execution risks under specific memory layouts. |
|---|
| 来源 | ⚠️ https://github.com/llvm/llvm-project/issues/199187 |
|---|
| 用户 | TYGLS (UID 94774) |
|---|
| 提交 | 2026-06-01 04時50分 (4 月前) |
|---|
| 管理 | 2026-06-28 20時47分 (28 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 374581 [llvm llvm-project 直到 22.1.6 ValueSymbolTable ValueSymbolTable.cpp llvm::StringMap::insert 内存损坏] |
|---|
| 积分 | 20 |
|---|