The 2010 CWE/SANS
list of most-dangerous programming errors ranks "widespread and critical programming errors that can lead to serious software vulnerabilities. They are often easy to find, and easy to exploit. They will frequently allow attackers to completely take over the software, steal data, or prevent the software from working at all." See also:
How to Stop SQL Injections.