Stack buffer overrun is a computer bug that occurs when the program writes extra data for the buffer, which leads to the corruption of data values present in the memory.