Alan Cox, The biggest name in Linux besides Linus himself has stated that many open-source projects were far from secure.
This is a big blow to the common conception that Linux is more secure than other operating systems. Unfortunately he is very right. Due to the nature of open source anyone can be a programmer. They don't have to be good they just have to want to do it. Some open source projects are good on ideas and features that everyone uses but are nothing but spaghetti under the hood.
http://blogs.ittoolbox.com/linux/locutus/archives/alan-cox-states-linux-is-insecure-12659