ELI5: Explain Like I'm 5

Return-to-libc attack

A return-to-libc attack is a type of cyber attack that happens when someone breaks into a computer and takes control of it. It happens when the attacker finds a way to get their own code to run instead of the code that belongs to the computer. The attacker can send their own code and make the computer do something that it wasn't supposed to do, like delete files or send personal information to the attacker. Return-to-libc attacks work by tricking the computer into running the attacker's code instead of the original code. To do this, the attacker tries to find some way to get the computer to do the code that the attacker made instead of the code the computer should be running. The attacker then tells the computer to run the code from the library, which is a collection of common computer code. The computer doesn't know that the attacker's code is running instead of the original code and so it runs the attacker's code instead.