Microsoft: It is impossible to completely prevent vulnerabilities from being introduced during the development of large-scale software projects.
As long as human beings write software code, mistakes that lead to imperfections in software will be made – no software is perfect. Some imperfections simply prevent the software from functioning exactly as intended, but other bugs may present vulnerabilities.