buffer overflow
data spilling past the memory set aside for it
Programs set aside fixed spaces in memory, called buffers, to hold incoming data. If the code copies in more data than the space holds without checking, the extra spills into neighbouring memory and overwrites whatever is there. Attackers craft that extra data so the program crashes or starts running their own instructions. Checking sizes before copying prevents it.
Think of it as
Pouring a litre into a half-litre glass: the overflow soaks whatever sits next to it.
Ideas that use this term