| 제목 | 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. AM 04:50 (1 월 ago) |
|---|
| 모더레이션 | 2026. 06. 28. PM 08:47 (28 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 374581 [llvm llvm-project 까지 22.1.6 ValueSymbolTable ValueSymbolTable.cpp llvm::StringMap::insert 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|