A technique or code that takes advantage of a software vulnerability to gain unauthorized access or control.