Code injection

Definition
Code injection is the exploitation of a computer bug that is caused by processing invalid data.

Overview
Code injection can be used by an attacker to introduce (or "inject") code into a computer program to change the course of execution. The results of a code injection attack can be disastrous. For instance, code injection is used by some computer worms to propagate.