What is a buffer overflow?
When a section of memory is able to spill over to another section of memory and overwrite it. Attackers abuse poor programming to accomplish this.
How can buffer overflow be avoided?
Proper programming practices such and not using a weak programming language.