| |||||||||
A return-to-libc attack is a computer security attack usually starting with a buffer overflow, in which the return address on the stack is replaced by the address of another function in the program. This allows attackers to call pre-existing functions without injecting malicious code into programs, and can be a dangerous security hole in environnments protected by concepts such as a non-executable stack.