Our biggest software problem is that the design of our operating systems relies on ambient authority, which was fine for single PCs without networks, and software and users that could be trusted. It's been insane to use those systems since we all got Internet.
The second biggest problem is null terminated strings.
The fourth is off by one errors