In the context of computer security, a heap spray is an old technique that allows vulnerable systems to be taken advantaged of easily. This happens when threat actors write to the heap—a predetermined location in the computer’s memory—for a running program. This task of writing is often referred as “spraying the heap”. And then, at a later time, these same attackers will take advantage of a vulnerability to cause the exploit code to call commands in the heap.
Other form(s): Heap spraying