Independent researches (Microsoft/Mozilla) showed that around 70% of security vulnerabilities are caused by memory safety bugs. That's one heck of a "memory safety and stuff" :)
Here's one reference: https://msrc-blog.microsoft.com/2019/07/18/we-need-a-safer-s...