I think that we need to implement a new layer between software and users to solve this problem (like antiviruses do this nowadays but they solve very narrow problem). It should be like Wikipedia so everyone can fix bugs. There should be also smth like Wikipedia bots that automatically fix bugs.