> I've always wondered: if you take the cause of each CVE, look at underlying cause of that & repeat, how many essential root problems would you be left with?
It's almost always memory safety violations. The rest are basically application-level bugs, like not properly checking inputs.