Impact
The flaw resides in the GCRelocateInst::getBasePtr routine within LLVM’s Bitcode File Handler and may trigger a heap-based buffer overflow when processing a specially crafted .bc file. The vulnerability is tied to classic memory corruption weaknesses, such as CWE-119, CWE-122, and CWE-805. The description notes doubts about the existence of a true security flaw and that the LLVM project considers the behavior outside its documented security scope; this is treated as uncertain. Based on the description, it is inferred that a reliable overflow leading to code execution is not confirmed, and the risk remains limited to potential crashes or memory corruption if the overflow occurs.
Affected Systems
LLVM Project components up to release 22.1.6 are affected, specifically the Bitcode File Handler module of the compiler toolchain. Any installation that loads or processes .bc files using these versions is at risk.
Risk and Exploitability
The CVSS score of 4.8 is classified as low severity, and the EPSS score of less than 1% indicates a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The attack vector is local, requiring the ability to cause an LLVM instance to parse a malicious bitcode file. The uncertain nature of the flaw’s existence reduces confidence in the risk assessment.
OpenCVE Enrichment