Submit #844457: LLVM LLVM Project commit 3b3a3c2 Stack-based Buffer Overflowinfo

TitelLLVM LLVM Project commit 3b3a3c2 Stack-based Buffer Overflow
BeschreibungA 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.
Quelle⚠️ https://github.com/llvm/llvm-project/issues/199187
Benutzer
 TYGLS (UID 94774)
Einreichung01.06.2026 04:50 (vor 1 Monat)
Moderieren28.06.2026 20:47 (28 days later)
StatusAkzeptiert
VulDB Eintrag374581 [llvm llvm-project bis 22.1.6 ValueSymbolTable ValueSymbolTable.cpp llvm::StringMap::insert Pufferüberlauf]
Punkte20

Do you know our Splunk app?

Download it now for free!