Memory corruption is an unintentional modification of a memory location due to an error in a computer program.