Learning Center - What is buffer overflow?

A buffer overflow occurs when a program writing data to a buffer overloads that buffer’s capacity. It’s like pouring 12 ounces of milk into an 8 ounce glass. Buffer overflow is an anomaly that occurs when software writing data to a buffer overflows the buffer’s capacity, resulting in adjacent memory locations being overwritten. In other words, too much information is being passed into a container that does not have enough space, and that information ends up replacing data in adjacent containers.

Buffer overflows can be exploited by attackers with a goal of modifying a computer’s memory in order to undermine or take control of program execution. Learn more about how to keep your site safe in the Cloudflare Learning Center.


Knowledge in Action
The Cloudflare WAF is available on both the Pro and Business plans, upgrade here.

Screen Shot 2021-12-20 at 2.04.37 PM

1 Like