“…For web applications, buffer overflow occurs when a user or a hacker transfers input data beyond the processor's storage capacity, causing the system to crash or execute malicious codes that the hacker inserts (Foster et al, 2005;Xu et al, 2016). There are two types of BoF, including stack-based and heap-based (Kaur and Kaur, 2016).…”